[jboss-dev-forums] [Design of JBoss Portal] - "admin" portlet mode
julien@jboss.com
do-not-reply at jboss.com
Tue Aug 7 16:14:28 EDT 2007
I have implemented the "admin" portlet mode which allow to garantee some security constraint to be honoured when the mode is called. The security constraint is that the permission action "admin" is granted for the user.
I have updated the documentation for it and I have added the "admin" permission to the set of available permission actions in the administration tool. I have also put a simple example (ModePortlet) in the basic samples.
What is missing today are the different icons for the themes that represent the "admin" action. They have been jiraised and are a dependency of the global admin mode task.
This feature will allow us to remove the isUserInRole usage in our various portlets and instead implement the functionalities based on the check of the current mode being "admin".
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071722#4071722
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071722
More information about the jboss-dev-forums
mailing list