[ http://jira.magnolia.info/browse/MAGNOLIA-1594?page=comments#action_14714 ] Grégory Joseph commented on MAGNOLIA-1594: ------------------------------------------
As a side note, I'd be in favour of having all those methods return a Set (that's what they do any way, you don't want to return role X 12 times if it's inherited through 12 groups, for instance) > 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 ----------------------------------------------------------------
