acl - Access Control List
Defines an access control list for a page or control.
Category
dataSyntax
<xp:this.acl>
<xp:acl loaded="true|false">
<xp:this.entries>
<xp:aclEntry attributes fullName="name" name="name"
right="NOACCESS|READER|EDITOR"
type="USER|GROUP|ROLE|ORGUNIT|ORGROLE|DEFAULT|ANONYMOUS"
loaded="true|false">
</xp:aclEntry>
...
</xp:this.entries>
</xp:acl>
</xp:this.acl>
Usage
In Design mode, ensure focus is on the page or container control. Click All Properties and look for acl under data.This property applies to pages and some container controls.
Contained properties
|
Creates or does not create the tag instance when the control is loaded. |
|
Specifies the full name of a user if name is
not the full name. |
|
Specifies a name for the entry. |
|
Defines the access rights for the entry. |
|
Defines the type of entry. |
|
Creates or does not create the tag instance when the entry is loaded. |
Examples
This panel defines an ACL with two entries.<xp:panel style="height:60.0px;width:408.0px">
<xp:this.data>
<xp:dominoDocument var="document2" formName="form1"></xp:dominoDocument>
</xp:this.data>
<xp:this.acl>
<xp:acl>
<xp:this.entries>
<xp:aclEntry name="CN=Mary Moffit/O=IBM"
right="EDITOR" type="USER">
</xp:aclEntry></xp:aclEntry>
<xp:aclEntry name="John Jordon/O=IBM" right="READER"
type="USER">
</xp:aclEntry>
</xp:this.entries>
</xp:acl>
</xp:this.acl>
<xp:inputText id="inputText2" value="#{document2.phoneday}"></xp:inputText>
day phone <xp:br></xp:br>
<xp:inputText id="inputText3" value="#{document2.phonenight}"></xp:inputText>
night phone
</xp:panel>