You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Cagatay Civici (JIRA)" <de...@myfaces.apache.org> on 2007/02/07 14:43:06 UTC

[jira] Commented: (TOMAHAWK-885) Add support for the attribute visibleOnUserRole to

    [ https://issues.apache.org/jira/browse/TOMAHAWK-885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12470964 ] 

Cagatay Civici commented on TOMAHAWK-885:
-----------------------------------------

Hi, why not the following?

<t:column rendered="#{securityContext.ifGranted['Role_Admin']}">

Also enabledOnUserRole and visibleOnUserRole  will be deprecated.

Çagatay

> Add support for the attribute visibleOnUserRole to <t:column>
> -------------------------------------------------------------
>
>                 Key: TOMAHAWK-885
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-885
>             Project: MyFaces Tomahawk
>          Issue Type: Improvement
>          Components: Column
>    Affects Versions: 1.1.1, 1.1.2, 1.1.3
>            Reporter: Paul Spencer
>
> Please add support for the attribute visibleOnUserRole to the tag <t:column>. 
> I have the following reasons for this request:
> 1) This will allows a column to be displayed base on a users role.  As example, a table that displays employee information can be configured to display only sensitive information, like home phone number, to managers.
> 2) Consistency with other Tomahawk tags.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.