mojaloop / project

Repo to track product development issues for the Mojaloop project.
Other
22 stars 15 forks source link

To show the proper error message when the user who does not have the access to create the model clicks the create settlement model button #3921

Open smthitsaworks opened 1 month ago

smthitsaworks commented 1 month ago

Summary: When the users who don't have permission to create the settlement model click the create settlement button , currently it it does not show the proper error message.

image.png

Severity: Medium

Priority: Medium

Expected Behavior It needs to show the proper error message like showing in other pages when the users who don't have permission to create the settlement model click the create settlement button.

Steps to Reproduce

  1. Create user and do not give the access regarding settlement model creation
  2. Login to the admin portal with new user
  3. Go to settlements menu --> Models --> Click "Create Settlement Model" Button

Specifications

Notes:

ZweHMyat commented 1 month ago

This is the PR for the fix. https://github.com/mojaloop/platform-shared-tools/pull/77

ei-nghon-phoo commented 1 month ago

ready for QA testing.

FYI Ma @pthandar

pthandar commented 4 weeks ago

assigned @PhyuSinMyat8 to validate