paulsp 2002/08/25 13:14:59
Modified: webapp/WEB-INF/conf security.xreg
webapp/WEB-INF/psml/user/turbine/html default.psml
Log:
o Define a security that grants all action to the owner
o Turbine's page has "owner-only" security.
This will prevent another user from accessing Turbine's default page.
Revision Changes Path
1.4 +9 -0 jakarta-jetspeed/webapp/WEB-INF/conf/security.xreg
Index: security.xreg
===================================================================
RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/conf/security.xreg,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- security.xreg 14 Jul 2002 02:44:19 -0000 1.3
+++ security.xreg 25 Aug 2002 20:14:59 -0000 1.4
@@ -18,6 +18,15 @@
<allow-if role="user"/>
</access>
</security-entry>
+ <security-entry name="owner-only">
+ <meta-info>
+ <title>Owner-only</title>
+ <description>Full access to the owner.</description>
+ </meta-info>
+ <access action="*">
+ <allow-if-owner/>
+ </access>
+ </security-entry>
<security-entry name="default">
<meta-info>
<title>Default</title>
1.19 +1 -0
jakarta-jetspeed/webapp/WEB-INF/psml/user/turbine/html/default.psml
Index: default.psml
===================================================================
RCS file:
/home/cvs/jakarta-jetspeed/webapp/WEB-INF/psml/user/turbine/html/default.psml,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- default.psml 19 Jul 2002 18:31:08 -0000 1.18
+++ default.psml 25 Aug 2002 20:14:59 -0000 1.19
@@ -8,6 +8,7 @@
<control name="TabControl"/>
<controller name="TabController"/>
<portlets id="02">
+ <security-ref parent="owner-only"/>
<metainfo>
<title>Home</title>
</metainfo>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>