[Yanel-commits] rev 45755 -
public/yanel/trunk/src/realms/yanel-website/content
michi at wyona.com
michi at wyona.com
Mon Nov 30 15:51:42 CET 2009
Author: michi
Date: 2009-11-30 15:51:41 +0100 (Mon, 30 Nov 2009)
New Revision: 45755
Modified:
public/yanel/trunk/src/realms/yanel-website/content/b67016da-d515-4227-8204-7ff9384588ed
Log:
default usecases documented
Modified: public/yanel/trunk/src/realms/yanel-website/content/b67016da-d515-4227-8204-7ff9384588ed
===================================================================
--- public/yanel/trunk/src/realms/yanel-website/content/b67016da-d515-4227-8204-7ff9384588ed 2009-11-30 14:30:12 UTC (rev 45754)
+++ public/yanel/trunk/src/realms/yanel-website/content/b67016da-d515-4227-8204-7ff9384588ed 2009-11-30 14:51:41 UTC (rev 45755)
@@ -1,10 +1,35 @@
<?xml version="1.0"?><html xmlns="http://www.w3.org/1999/xhtml"><head> <title>Created from template ...</title> <link rel="neutron-introspection" type="application/neutron+xml" href="?yanel.resource.usecase=introspection"/></head><body>
-<h1>Access Control Policies</h1><br/>One can block inherited policies for <b>all</b> usecases<br/> <p>
+<h1>Access Control Policies</h1>
+
+<h2>Inheritance of policies or usecases</h2>
+One can block inherited policies for <b>all</b> usecases<br/> <p>
</p><pre><?xml version="1.0"?><br/><br/><policy xmlns="http://www.wyona.org/security/1.0" use-inherited-policies="false"><br/><br/> <usecase id="view"><br/> <!--<world permission="false"/>--><br/> <user id="lenya" permission="true"/><br/> </usecase><br/><br/> <usecase id="open"><br/> <user id="lenya" permission="true"/><br/> </usecase><br/><br/> <usecase id="write"><br/> <user id="lenya" permission="true"/><br/> </usecase><br/><br/></policy><br/></pre>
<p>
or also for a particular usecase<br/>
</p>
<p>
</p><pre><?xml version="1.0"?><br/><br/><policy xmlns="http://www.wyona.org/security/1.0"><br/><br/> <usecase id="view" use-inherited-policies="false"<br/> <!--<world permission="false"/>--><br/> <user id="lenya" permission="true"/><br/> </usecase><br/><br/></policy><br/></pre>
+
+<h2>Default usecases</h2>
+<p>
+The defaul usecases are currently hard-coded within <code>org.wyona.yanel.servlet.YanelServlet</code> and <code>org.wyona.security.impl.PolicyManagerImplVersion2</code>
+</p>
+<ul>
+ <li><b>view:</b> Allows to access the resource generated content</li>
+ <li><b>yanel.resource.meta:</b> Allows to access the meta data of resource (e.g. resource type)</li>
+ <li><b>open:</b> Allows to access the source content of a resource</li>
+ <li><b>write:</b> Allows to write/save data to the source content of a resource</li>
+ <li><b>delete:</b> Allows to delete a resource</li>
+ <li><b>resource.create:</b> Allows to create a resource</li>
+ <li><b>toolbar:</b> Allows to access the Yanel toolbar</li>
+ <li><b>introspection:</b> Allows to access the Neutron introspection of a resource</li>
+ <li><b>policy.read:</b> Allows to view the access policy of a resource</li>
+ <li><b>policy.update:</b> Allows to modify the access policy of a resource</li>
+</ul>
+
+<h2>Custom usecases</h2>
+<p>
+For example workflow transitions!
+</p>
</body>
-</html>
\ No newline at end of file
+</html>
More information about the Yanel-commits
mailing list