...
Right name \ Endpoint | Initiate | Update* | Submit | Approve | Authorize | Delete | View | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
REQUISITION_CREATE | + | + | + | ||||||||||
REQUISITION_APPROVE | + | + | |||||||||||
REQUISITION_AUTHORIZE | + | + | |||||||||||
REQUISITION_DELETE | + | ||||||||||||
REQUISITION_VIEW | + | + | + | + | + | + | + |
* - a requisition can have different status when it is updated that why a user needs a different rights. The REQUISITION_CREATE right is needed when the requisition has INITIATED status, the REQUISITION_APPROVE right is needed when the requisition has AUTHORIZED status and the REQUISITION_AUTHORIZE right is needed when the requisition has SUBMITTED status.
...