Author: julien(a)jboss.com
Date: 2007-08-07 14:18:10 -0400 (Tue, 07 Aug 2007)
New Revision: 7870
Modified:
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/images/portletmodes/editor.png
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/portletmodes.xml
Log:
update the documentation for portlet admin mode
Modified:
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/images/portletmodes/editor.png
===================================================================
(Binary files differ)
Modified:
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/portletmodes.xml
===================================================================
---
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/portletmodes.xml 2007-08-07
18:17:19 UTC (rev 7869)
+++
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/portletmodes.xml 2007-08-07
18:18:10 UTC (rev 7870)
@@ -43,7 +43,7 @@
<sect2>
<title>Declarative instance security configuration</title>
<para>The following example shows the configuration of a portlet instance
that grants the admin action permission
- to the <emphasis>Admin</emphasis> security role.
+ to the <emphasis>Admin</emphasis> security role. It also grant
the view action permission to all users.
</para>
<programlisting><![CDATA[
...
@@ -52,9 +52,13 @@
<portlet-ref>ModePortlet</portlet-ref>
<security-constraint>
<policy-permission>
+ <action-name>admin</action-name>
<role-name>Admin</role-name>
- <action-name>admin</action-name>
</policy-permission>
+ <policy-permission>
+ <action-name>view</action-name>
+ <unchecked/>
+ </policy-permission>
</security-constraint>
</instance>
...
Show replies by date