On Friday, February 14, 2003, at 01:16 PM, Conner, Chris wrote:
A portlet is assigned security constraints with security-refs.
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
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
[EMAIL PROTECTED]
+01 707 773-4646
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
