Adobe-Consulting-Services/acs-aem-commons

View on GitHub
ui.content/src/main/content/jcr_root/home/users/_rep_policy.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:rep="internal"
          jcr:primaryType="rep:ACL">
    <allow
            jcr:primaryType="rep:GrantACE"
            rep:principalName="acs-commons-wcm-inbox-cleanup-service"
            rep:privileges="{Name}[jcr:read]"/>
    <allow0
            jcr:primaryType="rep:GrantACE"
            rep:principalName="acs-commons-wcm-inbox-cleanup-service"
            rep:privileges="{Name}[jcr:removeChildNodes]">
        <rep:restrictions
                jcr:primaryType="rep:Restrictions"
                rep:glob="*/wcm/notification/inbox"/>
    </allow0>
    <allow1
            jcr:primaryType="rep:GrantACE"
            rep:principalName="acs-commons-wcm-inbox-cleanup-service"
            rep:privileges="{Name}[jcr:removeNode]">
        <rep:restrictions
                jcr:primaryType="rep:Restrictions"
                rep:glob="*/wcm/notification/inbox/*"/>
    </allow1>
    <allow2
            jcr:primaryType="rep:GrantACE"
            rep:principalName="acs-commons-ensure-service-user-service"
            rep:privileges="{Name}[rep:userManagement]"/>
</jcr:root>