[
http://jira.magnolia-cms.com/browse/MGNLSTK-482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Grégory Joseph reassigned MGNLSTK-482:
--------------------------------------
Assignee: Grégory Joseph (was: Philipp Bärfuss)
> Using CollectionUtils in STKUtil instead of modyfying the allRoles collection
> directly
> --------------------------------------------------------------------------------------
>
> Key: MGNLSTK-482
> URL: http://jira.magnolia-cms.com/browse/MGNLSTK-482
> Project: Magnolia Standard Templating Kit
> Issue Type: Improvement
> Reporter: Zdenek Skodik
> Assignee: Grégory Joseph
>
> currently the {{STKUtil.currentUserHasOneRole}} modifies the {{allRoles}}
> collection directly which can lead to loss of roles of logged user. We can
> use the {{CollectionUtils.containsAny(allRoles, roles)}} instead.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------