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 "Raghu V. N" <Ra...@infosys.com> on 2003/01/22 10:00:41 UTC

Regarding default.psml

Hi
  In the default.psml file for the user "Turbine",I replaced the word "HelloVelocity" with "RoleBrowser"
and the RoleBrowser portlet was visible when I logged in as Turbine.
   How does this happen when the security reference for the RoleBrowser as been set as "admin-only" in the xreg file?

   What is the purpose of <security role="user"> in the xreg file?

   Can the security references in the default.psml (for a specific user) override the security references in the xreg file for that particular portlet?

Thanks,
Raghu

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Regarding default.psml

Posted by Mark Orciuch <ma...@ngsltd.com>.
Raghu,

>   In the default.psml file for the user "Turbine",I replaced the
> word "HelloVelocity" with "RoleBrowser"
> and the RoleBrowser portlet was visible when I logged in as Turbine.

What version of Jetspeed are you using? I tested it using CVS head build and
the portlet appears but you get an error message "You have no access to this
portlet" which is the correct behaviour for this scenario.

Do you allow your users to manually edit their psml files? If not, then if
RoleBrowser is properly secured in the registry, an ordinary user should
never be able to select it in the customizer.

>    How does this happen when the security reference for the
> RoleBrowser as been set as "admin-only" in the xreg file?

Unless you manually added a security ref for this entry, such as
"user-only", you should not be able to see the content of this portlet.

>
>    What is the purpose of <security role="user"> in the xreg file?
>

It's there for backwards compatibility - it doesn't do anything right now.

>    Can the security references in the default.psml (for a
> specific user) override the security references in the xreg file
> for that particular portlet?

Yes. Security references to portlets in your default.psml should only be
changed via the portlet customizer. By default, this is disabled.

Best regards,

Mark Orciuch - morciuch@apache.org
Jakarta Jetspeed - Enterprise Portal in Java
http://jakarta.apache.org/jetspeed/


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>