1123: Error message displayed when 403 returned from server
Test Case #: 1123
Test Case Name: Error message displayed when 403 returned from server | |
System: openLMIS | Subsystem: blue |
Test case designed by: Lucyna Laska | Design Date:23.11.2016 |
Short description: When the OpenLMIS server returns a 403 error (access forbidden) to the client, an error message stating the user doesn't have access is shown. This ticket is about the UI modal - not the error message being returned from the server. |
|
Pre – conditions: |
|
Step | Action | Expected system response | Comment |
1 | Log in as administrator to UI and select the Requisitions→Create Authorize. |
| |
2 | Select the proper program and show the details of requisition by selecting the PROCEED button. |
|
|
3 | Remove all roles for the users using API. URL: http://10.222.17.134/referencedata/api/users?access_token=22b1874e-81f6-4cd3-84cf-322e665b7c0f Method: PUT Body: { |
All roles has been removed successfully. |
|
4 | Try to submit requisition without assigned roles. | It's not possible. Error message: "You are not authorized to perform this action" is displayed. |
|
5 | |||
6 |
| ||
7 |
|
Post – conditions: |
Related content
OpenLMIS: the global initiative for powerful LMIS software