You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Guillaume Lucazeau (JIRA)" <ji...@apache.org> on 2017/03/28 12:16:42 UTC

[jira] [Created] (SLING-6738) Import ACLs with JSON content

Guillaume Lucazeau created SLING-6738:
-----------------------------------------

             Summary: Import ACLs with JSON content
                 Key: SLING-6738
                 URL: https://issues.apache.org/jira/browse/SLING-6738
             Project: Sling
          Issue Type: Improvement
          Components: JCR
    Affects Versions: JCR ContentLoader 2.1.10
            Reporter: Guillaume Lucazeau


It would be nice to be able to create ACLs found in a JSON content exported from Sling. Currently, the node are protected and the import fails.

"rep:policy": {
    "jcr:primaryType": "rep:ACL",
    "allow": {
        "rep:privileges": [
            "jcr:addChildNodes"
        ],
        "rep:principalName": "myUser",
        "jcr:primaryType": "rep:GrantACE"
    }
}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)