[ http://jira.magnolia.info/browse/MAGNOLIA-1594?page=comments#action_14713 ] Grégory Joseph commented on MAGNOLIA-1594: ------------------------------------------
now we have : User.getGroups() User.getAllGroups() User.getRoles() User.getAllRoles() Group.getGroups() Group.getAllGroups() tested and works. We should do - more tests - more refactoring on the Mgnl* implementations (add/has/remove role/group methods) > Extend User API to allow fetching all roles and groups assigned to user via > getRoles() and getGroups() methods > -------------------------------------------------------------------------------------------------------------- > > Key: MAGNOLIA-1594 > URL: http://jira.magnolia.info/browse/MAGNOLIA-1594 > Project: Magnolia > Issue Type: Improvement > Components: security > Affects Versions: 3.1 M3 > Reporter: Amir Mistric > Assigned To: Sameer Charles > Priority: Blocker > Fix For: 3.1 M4 > > > Currently User API getRoles() and getGroups() only returns roles and groups > directly assigned to the user and not the ones user inherits via group > membership.. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia.info/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ---------------------------------------------------------------- for list details see http://documentation.magnolia.info/docs/en/editor/stayupdated.html ----------------------------------------------------------------
