Verify fulfillment endpoints and needed rights

Description

Acceptance criteria:

  • Creating orders requires: ORDERS_EDIT;

  • Viewing orders require any of the following: ORDERS_EDIT, ORDERS_VIEW, SHIPMENT_EDIT, SHIPMENT_VIEW (for supplying facility) POD_MANAGE, POD_VIEW (for requesting facility);

  • Creating shipment, creating shipment draft, updating draft requires: SHIPMENT_EDIT;

  • Viewing shipment requires any of the following: SHIPMENT_EDIT, SHIPMENT_VIEW;

  • POD draft save and confirmation requires: PODS_MANAGE;

  • POD view requires any of the following: PODS_MANAGE, PODS_VIEW (for requesting facility), SHIPMENTS_EDIT (for supplying facility).

Pre-conditions:

  • Knowing the credentials of an administrator;

  • Creating a test user without any role assignments but with a home facility belonging to the Cuamba requisition group and knowing the user's credentials;

  • Creating the following user roles: Order Editor (with only the ORDERS_EDIT right), Order Viewer (with only the ORDERS_VIEW right), Shipment Editor (with only the SHIPMENTS_EDIT right), Shipment Viewer (with only the SHIPMENTS_VIEW right), POD Manager (with only the PODS_MANAGE right) and POD Viewer (with only the PODS_VIEW right);

  • Several orders with Deposito Distrital Cuamba as a supplying facility have to be created in the system - some of them should have ORDERED/FULFILLING status, and some SHIPPED.

Assignee

Unassigned

Reporter

Joanna Bebak

Labels

Components

Fix versions

Priority

Minor
Configure