[
http://jira.magnolia-cms.com/browse/MGNLSTK-482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on MGNLSTK-482 started by Grégory Joseph.
> STKUtil.currentUserHasOneRole should not modify the passed collection
> ---------------------------------------------------------------------
>
> Key: MGNLSTK-482
> URL: http://jira.magnolia-cms.com/browse/MGNLSTK-482
> Project: Magnolia Standard Templating Kit
> Issue Type: Improvement
> Components: base system
> Reporter: Zdenek Skodik
> Assignee: Grégory Joseph
> Fix For: 1.3
>
>
> 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]>
----------------------------------------------------------------