Author: mmcallis
Date: 2008-03-26 01:36:40 -0400 (Wed, 26 Mar 2008)
New Revision: 10375
Modified:
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/xmldescriptors.xml
Log:
6.1.3. The JBoss Portal Object DTD
minor revisions
Modified:
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/xmldescriptors.xml
===================================================================
---
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/xmldescriptors.xml 2008-03-25
01:44:11 UTC (rev 10374)
+++
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/xmldescriptors.xml 2008-03-26
05:36:40 UTC (rev 10375)
@@ -418,12 +418,9 @@
</screen></term>
<listitem>
<para>
- The <computeroutput><security-constraint></computeroutput>
element is a container for
<computeroutput><policy-permission></computeroutput> elements.
+ The <computeroutput><security-constraint></computeroutput>
element is a container for
<computeroutput><policy-permission></computeroutput> elements.
The following is an example of the
<computeroutput><security-constraint></computeroutput> and
<computeroutput><policy-permission></computeroutput> elements:
</para>
<para>
- The following is an example of the
<computeroutput><security-constraint></computeroutput> element:
- </para>
- <para>
<screen><![CDATA[
<security-constraint>
<policy-permission>
@@ -487,7 +484,7 @@
</screen>
</para>
<para>
- If present, the <computeroutput><unchecked></computeroutput>
element is used to define that anyone can view this instance.
+ If present, the <computeroutput><unchecked></computeroutput>
element is used to define that anyone can view the instance.
</para>
<para>
<screen><![CDATA[
@@ -495,7 +492,7 @@
</screen>
</para>
<para>
- The <computeroutput><role-name></computeroutput> element is
used to define a role that the security constraint will apply to. The following example
only allows users that are part of the
<computeroutput>EXAMPLEROLE</computeroutput> role to access this instance:
+ The <computeroutput><role-name></computeroutput> element is
used to define a role that the security constraint will apply to. The following example
only allows users that are part of the
<computeroutput>EXAMPLEROLE</computeroutput> role to access the instance:
</para>
<para>
<screen><![CDATA[
@@ -852,12 +849,9 @@
</screen></term>
<listitem>
<para>
- The security-constraint element is a container for policy-permission elements
+ The <computeroutput><security-constraint></computeroutput>
element is a container for
<computeroutput><policy-permission></computeroutput> elements.
The following is an example of the
<computeroutput><security-constraint></computeroutput> and
<computeroutput><policy-permission></computeroutput> elements:
</para>
<para>
- The following is an example of the
<computeroutput><security-constraint></computeroutput> element:
- </para>
- <para>
<screen><![CDATA[
<security-constraint>
<policy-permission>
@@ -879,40 +873,64 @@
<varlistentry><term><screen><![CDATA[
<!ELEMENT policy-permission (action-name*,unchecked?,role-name*)>]]>
</screen></term>
-<listitem>
- <para>
- The <computeroutput><policy-permission></computeroutput>
element is used to secure a specific portlet instance based on a user's role.
- </para>
- <para>
+ <listitem>
+ <para>
+ The <computeroutput><policy-permission></computeroutput>
element is used to secure a specific portlet instance based on a user's role.
+ </para>
+ <para>
<screen><![CDATA[
<!ELEMENT action-name (#PCDATA)>]]>
</screen>
- </para>
- <para>
- The <computeroutput><action-name></computeroutput> element
is used to define the access rights given to the role defined. The accepted value is
<computeroutput>view</computeroutput>, which allows users to view the page.
- </para>
- <para>
+ </para>
+ <para>
+ The <computeroutput><action-name></computeroutput> element
is used to define the access rights given to the role defined. Accepted values are:
+ </para>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <computeroutput>view</computeroutput>: users can view the page.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <computeroutput>viewrecursive</computeroutput>: users can view the page
and child pages.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <computeroutput>personalize</computeroutput>: users are able personalize
the page's theme.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <computeroutput>personalizerecursive</computeroutput>: users are able
personalize the page and child pages themes.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ <para>
<screen><![CDATA[
<!ELEMENT unchecked EMPTY>]]>
</screen>
- </para>
- <para>
- If present, the
<computeroutput><unchecked></computeroutput> element is used to
define that anyone can view this instance.
- </para>
- <para>
+ </para>
+ <para>
+ If present, the <computeroutput><unchecked></computeroutput>
element is used to define that anyone can view the instance.
+ </para>
+ <para>
<screen><![CDATA[
<!ELEMENT role-name (#PCDATA)>]]>
</screen>
- </para>
- <para>
- The <computeroutput><role-name></computeroutput> element is
used to define a role that the security constraint will apply to. The following example
only allows users that are part of the
<computeroutput>EXAMPLEROLE</computeroutput> role to access this instance:
- </para>
- <para>
+ </para>
+ <para>
+ The <computeroutput><role-name></computeroutput> element is
used to define a role that the security constraint will apply to. The following example
only allows users that are part of the
<computeroutput>EXAMPLEROLE</computeroutput> role to access the instance:
+ </para>
+ <para>
<screen><![CDATA[
<role-name>EXAMPLEROLE</role-name>]]>
</screen>
- </para>
-</listitem>
+ </para>
+ </listitem>
</varlistentry>
</variablelist>
</para>
Show replies by date