[ 
http://jira.magnolia-cms.com/browse/MGNLSTK-482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=26502#action_26502
 ] 

Hudson CI server commented on MGNLSTK-482:
------------------------------------------

Integrated in !http://hudson.magnolia-cms.com/nocacheImages/16x16/blue.gif! 
[standard-templating-kit 
#2391|http://hudson.magnolia-cms.com/job/standard-templating-kit/2391/]
     * MGNLSTK-482 currentUserHasOneRole does not modify the user's roles 
collection anymore
* MGNLSTK-584 introduced  getAllowedParagraphs(Area area)
* introduced generics in related classes


> STKUtil.currentUserHasOneRole should not modify the user's role 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]>
----------------------------------------------------------------

Reply via email to