enabled/visibleOnUserRole role list management
----------------------------------------------

         Key: TOMAHAWK-489
         URL: http://issues.apache.org/jira/browse/TOMAHAWK-489
     Project: MyFaces Tomahawk
        Type: Improvement

  Components: Html Tag  
    Versions: 1.1.4-SNAPSHOT    
 Environment: Tomahawk
    Reporter: Zdenek Sochor
    Priority: Minor


Currently, enabled or visibleOnUserRole uses logical OR function on submitted 
roles in decision whether the component is enabled/visible.

It would make sense to be able to select logical function of roles (to be able 
to show component when user is NOT in role, or if user has ALL roles).

I'd suggest making new attribute in TLD "roleSelectionMode" defaulting to "or" 
(if null) and using one of "or, and, not" values.

This change would have impact on TLD, UserRoleUtils.java and HtmlTag.java files.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to