Re: Get JahiaDBUser on Portlets

"Ricardo Ferreira" <[email protected]> Fri, 20 Apr 2007 14:46:53 +0100
Newsgroups gmane.comp.cms.jahia.devel
Message-ID <[email protected]>
Hi,

I thought that there was a away... Well I tryed... :)


Thanks for your help,
Ricardo Ferreira


2007/4/20, Khaled TLILI <[email protected]>:
>
> 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
> >
>
>


-- 
Ricardo Ferreira