[ 
https://issues.apache.org/jira/browse/SLING-6738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Seifert resolved SLING-6738.
-----------------------------------
    Resolution: Fixed

please note this is already supported for some years by JCR content loader - 
but was not documented.
i've added some documentation about it:
http://sling.apache.org/documentation/bundles/content-loading-jcr-contentloader.html#acls-and-principals

please repopen the ticket if this does not fit your needs.

> 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.4.14#64029)

Reply via email to