Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

    • Configure the stock card template (a global template that applies for all programs)
      Assumption: The stock card template is the same for all programs. In other words, in one OpenLMIS implementation there is only one template.

STOCK_SETTINGS_MANAGE SOURCES_MANAGE and STOCK_DESTINATIONS_MANAGE (admin type): 
Can configure settings for the stock service (not including the stock card template).

Applies to:

    • Configure (add, edit) organizations, sources/destinations, reasons, stock card template

STOCK_SOURCES_MANAGE

STOCK_DESTINATIONS_MANAGE

STOCK_the valid sources and destinations for all programs/facilities in the system.
Assumption: since this functionality is not in v3.1 scope, it may be removed or disabled before release.

STOCK_CARD_LINE_ITEM_REASONS_MANAGEMANAGE (admin type):
Can configure the reasons, including which reasons map to which facilityTypes and programs.

ORGANIZATIONS_MANAGE (admin type):
STOCK_EVENT_CREATECane configure the list of outside organizations.
Assumption: since this functionality is not in v3.1 scope, it may be removed or disabled before release.

If this is kept for v3.1 release, please rename this right to STOCK_ORGANIZATIONS_MANAGE.


Rights to Remove

A handful of STOCK_* rights are already built into the bootstrap data, but we suggest removing them for 3.1:

  • STOCK_SOURCES_VIEW (see No Permissions Checks section below)

...

  • STOCK_SOURCES_VIEW 
  • STOCK_DESTINATIONS_VIEW
  • STOCK_CARD_LINE_ITEM_REASONS_VIEW
  • STOCK_EVENT_CREATE: Events are a concept under the hood. But Adjustments and Physical Inventories are the "nouns" that users can act on via the API. We don't want the concept of an "event" to have its own right(s).

No Permissions Checks

These endpoints will be visible to all logged-in users (no rights need to be checked other than a valid login token):

...