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 one entry for each role. For each role, you define one set of permissions. Each permission has of the following attributes
  • The resourceref attribute references a resource ID defined in the resources element. It identifies a resource or set of resources.
  • The name attribute specifies the project path to the resource or resources. (The name attribute is not used when you specify permissions for an entire resource type.)
  • The resource type attribute specifies what types of resources in the specified name attribute project path are included in the permission.
  • The action type attribute specifies an action type, for example, create. This attribute determines the kind of action a user has permission to do, for the specified resource or resources.