Ricardo Ferreira a écrit :
Hi Khaled,

I would like to thank you, for your help that was very usefull...
you're welcome.

On last mail you said:
> No it's not possible. All you can do is to display a message "This mode
> is not allowed" in edit mode for users who haven't  admin role.
I'm doing this but i would like to display Edit tab for portlets only if an authenticated user has admin role... My question is: " There is any place (jsp, java, ... ) where i can implement this?? It is possible that Edit tab only be showed if an user has admin role??"
Unfortunatly, at the moment, it's not possible. Tabs like VIEW, EDIT and HELP (portlet header in general) are not displayed thanks to a JSP but by a jahia class (out.write(....)). At the moment, it's not possible to change this behaviour unless changing the specific class and recompiling Jahia.

KT.

Thanks for your help,

Ricardo Ferreira





------------------------------------------------------------------------

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.5.5/769 - Release Date: 4/19/2007 17:56

Reply via email to