[
https://issues.apache.org/jira/browse/SLING-7268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16272631#comment-16272631
]
Bertrand Delacretaz commented on SLING-7268:
--------------------------------------------
Could you use repoinit instead to create those users and ACLs? That's the
recommended way.
See
https://sling.apache.org/documentation/bundles/repository-initialization.html
for details
> unable to create principals and use principals in ACLs on import
> ----------------------------------------------------------------
>
> Key: SLING-7268
> URL: https://issues.apache.org/jira/browse/SLING-7268
> Project: Sling
> Issue Type: Bug
> Affects Versions: JCR ContentLoader 2.2.6
> Reporter: Andres Bott
> Priority: Minor
>
> Not able to use principals and ACLS on the same bundle when defining initial
> content
> ie:
> {
> "jcr:primaryType" : "sling:Folder",
> "security:principals": [
> { "name": "*user*", "password": "mypassword"}
> ],
> "security:acl": [
> { "principal": "*user*", "granted": ["jcr:read","jcr:write"] }
> ]
> }
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)