Change By: Daniel Lipp (05/Dec/14 6:02 PM)
Description: Deleting folders of groups or roles (security app) will always check for users having assigned a group OR a role with the name of the items in that folder. This might result in cases where one cannot delete a folder containing a group "foo" because there's also a role "foo" which is assigned to a user. Deleting a folder of groups should only check for users and groups having that group assigned (and not for those having assigned a role with that name) - likewise deleting a folder of roles should only check for users and groups having that role assigned (and not for those having assigned a group with that name).

to reproduce:
- open security app
  - go to groups
    - create a folder "untitled"
    - create a group "group-or-role-name" within the above folder
  - go to roles
    - create a role "group-or-role-name" (doesn't matter whether this is on root or in a folder)
  - go to users, select one (e.g. peter) and assign him the ROLE "group-or-role-name"
  - go to groups, select the folder "untitled" and try to delete it

-> system will tell you, you cannot remove that folder because user peter users "group-or-role-name" but actually it only uses the so called role not the group and hence the deletion should be allowed!

Note: also the provided error message should be improved (
see attachment filed as MGNLUI-3093 )
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