Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
P2
-
Resolution: Duplicate
-
Affects Version/s: 5.3.0
-
Fix Version/s: 5.3.1
-
Labels:
-
Template:
-
Sprint:CP: sprint 99
-
Story Points:3
-
Development Team:Core: Platform
Description
The current behavior is to silently ignore the new permission definition. This leads to the following potential issues:
- Different modules could define permissionSets with (for example) different subPermissions, but the same permissionName, with no way to ensure which one will take effect except for load order
- A module upgrade might reasonably want to create new "atomic" permissions and include them in compound permissionSets
Note
Assumption: we can allow overwriting permission sets by modules during install/upgrade but keep them immutable from the end-user viewpoint.
In the scope of this ticket we will only fix the behavior in mod-permissions that ignores updates to permission sets during module install/upgrade.
Open question: in case a user defines a mutable permission set with the same name as module-provided permission set we will override the user-created set. This problem should be addressed by scoping user created permission sets so that this problem never occurs.
TestRail: Results
Attachments
Issue Links
- relates to
-
MODPERMS-45 TenantPerms API does not handle permission update
-
- Closed
-
-
MODPERMS-89 Permissions are not managed properly during upgrade
-
- Closed
-
-
OKAPI-839 SPIKE: consider migration of static permission and permissionSets
-
- Closed
-
-
UICR-44 Course Reserves - Permissions
-
- Closed
-