Fork me on GitHub

Privileges

Packages can register custom JCR privileges during import by carrying a META-INF/vault/privileges.xml file.

<!DOCTYPE privileges [
<!ELEMENT privileges (privilege)+>
<!ELEMENT privilege (contains)+>
<!ATTLIST privilege abstract (true|false) false>
<!ATTLIST privilege name NMTOKEN #REQUIRED>
<!ELEMENT contains EMPTY>
<!ATTLIST contains name NMTOKEN #REQUIRED>
]>

Aggregate privileges can be registered with the additional element contains which should reference an existing privilege name.