Change By: Roman Kovařík (10/Oct/13 1:51 PM)
Description: We need to convert the old permissions to 45 Admincentral pages defined via ACLs to new app permissions defined via roles enumeration.

* Implement {{
ConvertACLtoAppsPermissionTask ConvertACLtoAppPermissionTask ( " String name " ,  "  String description " ,  String  oldURL,  pathToNewApp  String newApp ,  superuserRole  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)}}
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to