content-type-acl

Represents an Escenic access control list (ACL), which assigns a specified role to one or more users or user groups. A role implies a defined set of access rights. This element represents a content-type ACL, so the access rights only apply to content items of the specified type.

Syntax
<content-type-acl
    name="(content-type-reader|content-type-writer)"
    type="..."
  >
  <user-ref/>*
  <user-group-ref/>*
</content-type-acl>
Examples
  • This example assigns the right to read content items of all types to members of the user group mobile. Users who have not been assigned at least content-type-reader access to a content type will not only not have read access; they will not even see the content items or the type in Content Studio.

    <global-acl name="content-type-reader" publication-id="4">
      <user-group-ref name="mobile" publication-id="4"/>
    </global-acl>
  • This example then assigns the right to create and edit image content items to members of the user group mobile.

    <content-type-acl name="content-type-writer" type="image">
      <user-group-ref name="mobile" publication-id="4"/>
    </content-type-acl>
Attributes
name="(content-type-reader|content-type-writer)"

The name of the role represented by this ACL.

Allowed values are:

content-type-reader
content-type-writer
type="..."

The content-type to which this ACL applies.