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 "Conner, Chris" <Ch...@torchquest.com> on 2003/02/14 22:16:16 UTC
Can multiple roles be assigned to a single portlet?
Can multiple roles be assigned to a single portlet?
I need the functionality because I have 2 sets of users that need to access
a portlet.
i.e. user1 is assigned role1(to access portlet1 and portlet2)
user2 is assigned role2(to access portlet1 and portlet3)
portlet1 is assigned role1 and role2
portlet2 is assigned role1
portlet3 is assgined role2
Chris
Re: Can multiple roles be assigned to a single portlet?
Posted by David Sean Taylor <da...@bluesunrise.com>.
On Friday, February 14, 2003, at 01:16 PM, Conner, Chris wrote:
>
> Can multiple roles be assigned to a single portlet?
>
> I need the functionality because I have 2 sets of users that need to
> access
> a portlet.
>
> i.e. user1 is assigned role1(to access portlet1 and portlet2)
> user2 is assigned role2(to access portlet1 and portlet3)
>
> portlet1 is assigned role1 and role2
> portlet2 is assigned role1
> portlet3 is assgined role2
>
> Chris
>
A portlet is assigned security constraints with security-refs.
There can be only one security-ref per portlet registry entry, or per
PSML portlet instance.
However, look at the security registry (security.xreg) there are
examples of multiple roles:
<access action="*">
<allow-if role="admin"/>
</access>
<access action="view">
<allow-if role="user"/>
</access>
--
David Sean Taylor
Bluesunrise Software
david@bluesunrise.com
+01 707 773-4646
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
AW: Can multiple roles be assigned to a single portlet?
Posted by Danny <da...@mms-dresden.de>.
Sure, have a look at Security.xreg. There is specified, which role has which
rights for a specific security entry. These entries can be selected in the
customize dialog.
> -----Ursprüngliche Nachricht-----
> Von: Conner, Chris [mailto:Chris.Conner@torchquest.com]
> Gesendet: Freitag, 14. Februar 2003 22:16
> An: jetspeed-user@jakarta.apache.org
> Betreff: Can multiple roles be assigned to a single portlet?
>
>
>
> Can multiple roles be assigned to a single portlet?
>
> I need the functionality because I have 2 sets of users that
> need to access
> a portlet.
>
> i.e. user1 is assigned role1(to access portlet1 and portlet2)
> user2 is assigned role2(to access portlet1 and portlet3)
>
> portlet1 is assigned role1 and role2
> portlet2 is assigned role1
> portlet3 is assgined role2
>
> Chris
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org