[jira] [Closed] (CLK-406) Menu improvements - plug-able role checking.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Closed] (CLK-406) Menu improvements - plug-able role checking.

JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/CLK-406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrian A. closed CLK-406.

closing issue fixed a long time ago.

> Menu improvements - plug-able role checking.
> --------------------------------------------
>                 Key: CLK-406
>                 URL: https://issues.apache.org/jira/browse/CLK-406
>             Project: Click
>          Issue Type: Improvement
>          Components: extras
>            Reporter: Demetrios Kyriakis
>             Fix For: 2.1.0
> Please improve the Menu Control, by allowing the user to have a plug-able role cheking for the menu items.
> Right now the Menu Control is using HttpRequest#isUserInRole(String role), but most webapplications
> don't use this strategy for user/roles management, so this method returns false for all those cases :(.
> This is very limiting, making the existing Menu Control useless for most user applications, thus forcing the users
> to make their own menu controls (or the hack the original one).
> Please allow to set a different method for this operation by the user (if no other is used, of course, the default one - mentioned above - would be used as before - so 100% backwards compatible).
> Thank you,
> Demetrios.

This message was sent by Atlassian JIRA