Details
-
Bug
-
Status: Closed (View Workflow)
-
TBD
-
Resolution: Done
-
-
ERM Sprint 84, ERM Sprint 85
-
Bienenvolk
Description
If the user does not have the permission orders.po-lines.collection.get (granted as (part of?) "Orders: View order lines" in UI) and tries to view an agreement with agreement line linked to a POL, they get an error pop-over:
ERROR: in module @folio/agreements, operation GET on resource 'orderLines' failed, saying: Access requires permission: orders.po-lines.collection.get
Instead the user should be able to view the agreement, but the POL number should not display in the Agreement Line and instead a message saying "No permissions to view POL" should be displayed instead of the POL number
TestRail: Results
Attachments
Issue Links
- is cloned by
-
ERM-1200 Agreements | Permissions | Error if user does not have permission for users.collection.get
-
- Closed
-
-
ERM-2351 Show error on Agreement line view if user does not have permission for orders.po-lines.collection.get
-
- Closed
-
- relates to
-
ERM-771 "No permission to view PO Line" message should only appear if the Agreement line has a POL linked
-
- Closed
-
-
UXPROD-2129 ERM | Workout and implement common approach to lack of permissions in other apps
-
- Closed
-
-
ERM-477 License and agreement APIs are not protected by FOLIO permissions
-
- Closed
-
1.
|
Write appropriate error message text |
|
Closed | Unassigned |