Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-8371

[cp2fm] map rep:ACL JCR nodes to repoinit Feature extension

    XMLWordPrintableJSON

Details

    Description

      As per summary, a JCR rep:ACL node, such as

      <jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:rep="internal"
                jcr:primaryType="rep:ACL">
          <allow0
                  jcr:primaryType="rep:GrantACE"
                  rep:principalName="acs-commons-ensure-oak-index-service"
                  rep:privileges="{Name}[jcr:read,rep:write,rep:indexDefinitionManagement]">
              <rep:restrictions
                      jcr:primaryType="rep:Restrictions"
                      rep:glob="*/oak:index/*"/>
          </allow0>
      </jcr:root>
      

      has to be mapped to the repoinit Feature Model extension:

      "repoinit:TEXT|true":[
        "set ACL for acs-commons-ensure-oak-index-service",
        "allow jcr:read,rep:write,rep:indexDefinitionManagement on /asd/public restriction(*/oak:index/*)",
        "end"
      ]
      

      Attachments

        Activity

          People

            simone.tripodi Simone Tripodi
            simone.tripodi Simone Tripodi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: