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

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

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.3, 1.1.2, 1.1.1
            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.


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

Posted by Paul Spencer <pa...@mindspring.com>.
Cagatay,

When will "variable-property resolver" be promoted out of the sandbox?

Paul Spencer

Cagatay Civici (JIRA) wrote:
> [ https://issues.apache.org/jira/browse/TOMAHAWK-885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471520 ]
> 
> Cagatay Civici commented on TOMAHAWK-885: -----------------------------------------
> 
> Just a note; security context is not a bean but a variable-property resolver located in sandbox.
> 
> 
>> 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 Fix For: 1.1.5-SNAPSHOT
>> 
>> 
>> 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.
> 
> 


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

Posted by Cagatay Civici <ca...@gmail.com>.
Hi Paul,

I think we should document it first at sandbox website, add some mock tests
and start a vote.

I see you've created some issues about this, I also added a subtask related
to testing. I'll complete the testing at the weekend.

Let's talk about this again when we're done with the documenting and
testing.

Cagatay

On 2/9/07, Paul Spencer <pa...@apache.org> wrote:
>
> Cagatay,
>
> When will "variable-property resolver" be promoted out of the sandbox?
>
> Paul Spencer
>
> Cagatay Civici (JIRA) wrote:
> > [
> https://issues.apache.org/jira/browse/TOMAHAWK-885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471520]
> >
> > Cagatay Civici commented on TOMAHAWK-885:
> -----------------------------------------
> >
> > Just a note; security context is not a bean but a variable-property
> resolver located in sandbox.
> >
> >
> >> 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 Fix For: 1.1.5-SNAPSHOT
> >>
> >>
> >> 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.
> >
> >
>
>

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

Posted by Paul Spencer <pa...@apache.org>.
Cagatay,

When will "variable-property resolver" be promoted out of the sandbox?

Paul Spencer

Cagatay Civici (JIRA) wrote:
> [ https://issues.apache.org/jira/browse/TOMAHAWK-885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471520 ]
> 
> Cagatay Civici commented on TOMAHAWK-885: -----------------------------------------
> 
> Just a note; security context is not a bean but a variable-property resolver located in sandbox.
> 
> 
>> 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 Fix For: 1.1.5-SNAPSHOT
>> 
>> 
>> 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.
> 
> 


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

Posted by "Cagatay Civici (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOMAHAWK-885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471520 ] 

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

Just a note; security context is not a bean but a variable-property resolver located in sandbox.

> 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
>             Fix For: 1.1.5-SNAPSHOT
>
>
> 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.


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

Posted by "Cagatay Civici (JIRA)" <de...@myfaces.apache.org>.
    [ 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.


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

Posted by "Paul Spencer (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TOMAHAWK-885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Spencer resolved TOMAHAWK-885.
-----------------------------------

       Resolution: Won't Fix
    Fix Version/s: 1.1.5-SNAPSHOT

The attributes enabledOnUserRole and visibleOnUserRole is being deprecated.  The Tomahawk Bean securityContext, which was introduced in 1.1.5 should be used instead.



> 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
>             Fix For: 1.1.5-SNAPSHOT
>
>
> 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.