You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Simone Tripodi (JIRA)" <ji...@apache.org> on 2019/05/03 08:18:00 UTC

[jira] [Assigned] (SLING-8387) ACL Repoinit statements after conversion miss out create path statements

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

Simone Tripodi reassigned SLING-8387:
-------------------------------------

    Assignee: Simone Tripodi

> ACL Repoinit statements after conversion miss out create path statements
> ------------------------------------------------------------------------
>
>                 Key: SLING-8387
>                 URL: https://issues.apache.org/jira/browse/SLING-8387
>             Project: Sling
>          Issue Type: Bug
>            Reporter: Dominik Süß
>            Assignee: Simone Tripodi
>            Priority: Major
>
> The acl generation in repoinit is missing out on creating the corresponding paths - this leads to abortion and failure of startup with exceptions as
> {code}
> 02.05.2019 16:14:41.419 *ERROR* [Apache Sling Repository Startup Thread] com.adobe.granite.repository.impl.SlingRepositoryManager Exception in a SlingRepositoryInitializer, SlingRepository service registration aborted
> java.lang.RuntimeException: Failed to set ACL (javax.jcr.PathNotFoundException: Cannot set ACL on non-existent path /etc/my/path) AclLine ALLOW {paths=[/etc/my/path], privileges=[jcr:read, jcr:modifyAccessControl, jcr:readAccessControl]}
> {code}
> To avoid that the parent structure should be created via createPath right ahead of this section and should be constructed with the nodeTypes of the parent structures in the containing packages. (sidenote - there is a chance of parent structures not reflecting the right parent structures - yet I think we can for now live with this constraint and indicate this requirement - we anyhow will switch to other definition of service users once we can define in the immutable space).
> //cc [~simone.tripodi]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)