Structure of the Access Control File
The access control file for a project is an XML file.
The acces control file has the following elements:
<resources> <resource id="id" type="ResourceType"/> <resource id="id" name="ProjectPath" type="ResourceType"/> . . . </resources> <entries> <entry> <role name="RoleName"/> <permissions> <permission resourceref="#id"> <action type="ActionType">[ALLOW|DENY]</action> </permission> . . . </permissions> </entry> . . . </entries> </acl>
- The
entries
element contains oneentry
for each role. For each role, you define one set ofpermissions
. Eachpermission
has of the following attributes: - The
resourceref
attribute references aresource ID
defined in the resources element. It identifies a resource or set of resources. - The
name
attribute specifies theproject path
to the resource or resources. (Thename
attribute is not used when you specify permissions for an entire resource type.) - The resource
type
attribute specifies what types of resources in the specifiedname
attribute project path are included in the permission. - The action
type
attribute specifies anaction type
, for example,create
. This attribute determines the kind of action a user has permission to do, for the specified resource or resources.