You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by "Nastasi, John" <jo...@ieminc.com> on 2003/05/20 18:05:44 UTC

Eliminating 'You do not have access to this portlet' message

Hello all,

 

I am setting up security in Jetspeed so that a given user will be a member
of one or more roles.  Depending on the role(s) that have been assigned he
or she will see some portlets defined in the default.psml, but not others.

 

I'm using <security-ref> tags in PSML, one for each portlet, as demonstrated
in the Registry Access Control section of the Security Configuration guide.

 

My question ... although it does seem to work, how does one get rid of the
"You do not have access to this portlet" message that appears throughout the
pane?  Ideally, I would like for each "unauthorized" portlet to simply not
show up, without any indication (to the end user) that it should or
shouldn't be there.

 

Is there a setting to turn this message off, a localization file in which
the text can be blanked out, or does this have to be done in source.  I'm
using the WAR distribution for my project, so would prefer to stay away from
source code hacks :-).

 

Thanks in advance for any insight someone might have on this! 

 

John Nastasi