1455: Enforce Right: Manage Requisition Template
Test Case #:1455 | Test Case Name:Enforce Right: Manage Requisition Template |
System: OpenLMIS | Subsystem: blue |
Test case designed by: Paulina Borowa | Design Date:18.01.2017 |
Short description: There should be an Administrative type Right that a User may be assigned via a Role that allows them to Manage (View, Create, Edit) the Requisition Templates. Acceptance:
acceptance criteria of GET endpoints are removed to OLMIS-1099 To Do |
|
Pre – conditions: |
Generate token for devadmin and administrator user |
Step | Action | Expected system response | Comment |
1 | Use devadmin account to check if user without right REQUISITION_TEMPLATES_MANAGE cannot POST/PUT/DELETE requisition template | PUT: { DELETE: { POST { GET ( currently working without right REQUISITION_TEMPLATES_MANAGE it will be changed in OLMIS-1099 To Do ) Status 200 OK |
|
2 | Use administrator account to check if user with right REQUISITION_TEMPLATES_MANAGE can GET/PUT/DELETE/POST requisition template | GET: Status 200 OK PUT: POST: Status 201 Created DELETE: |
|
3 |
| ||
4 |
| ||
5 |
OpenLMIS: the global initiative for powerful LMIS software