[MGNLUI-2255] Create task for converting 45 admincentral ACLs to new apps permissions Created: 09/Oct/13  Updated: 02/Nov/13  Resolved: 11/Oct/13

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: 5.1.1

Type: Task Priority: Neutral
Reporter: Roman Kovařík Assignee: Roman Kovařík
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
dependency
is depended upon by CNTCTSAPP-57 Add update task to convert old Adminc... Closed
is depended upon by MGNLCACHE-23 Add update task to convert old Adminc... Closed
is depended upon by MGNLCAT-100 Add update task to convert old Adminc... Closed
is depended upon by MGNLDAM-318 Add update task to convert old Adminc... Closed
is depended upon by MGNLGROOVY-83 Add update task to convert old Adminc... Closed
is depended upon by MGNLINTEMPL-37 Add update task to convert old Adminc... Closed
is depended upon by MGNLMAIL-21 Add update task to convert old Adminc... Closed
is depended upon by MGNLRES-70 Add update task to convert old Adminc... Closed
is depended upon by MGNLRSSAGG-108 Add update task to convert old Adminc... Closed
is depended upon by MGNLSTK-1249 Add update task to convert old Adminc... Closed
is depended upon by MGNLUI-2268 Add update tasks to convert old Admin... Closed
is depended upon by MGNLUI-2288 Add update tasks to convert old Admin... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:

 Description   

We need to convert the old permissions to 45 Admincentral pages defined via ACLs to new app permissions defined via roles enumeration.

  • Implement ConvertACLtoAppPermissionTask(String name, String description, String oldURL, String newApp, boolean removeOldPermissions):
    • This task runs query on userroles workspace for oldURL permission.
    • Finds userrole to which this permission belongs.
    • Checks if it's deny or access permission
      • Add this role to new app permissions in case of access
      • Add superuser role to new app permissions in case of deny
        (We don't have deny permission in 5 apps so we need to add at least one role to deny access to others)

Implement parent task ConvertListOfACLsToAppsPermissionsTask(String name, String description, Map<String, String[]> urlsToAppsPathsMap, boolean removeOldPermissions)


Generated at Mon Feb 12 08:54:42 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.