sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Tripodi (JIRA)" <>
Subject [jira] [Resolved] (SLING-8387) ACL Repoinit statements after conversion miss out create path statements
Date Fri, 03 May 2019 11:09:00 GMT


Simone Tripodi resolved SLING-8387.
    Resolution: Fixed

fixed in

> ACL Repoinit statements after conversion miss out create path statements
> ------------------------------------------------------------------------
>                 Key: SLING-8387
>                 URL:
>             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
> //cc [~simone.tripodi]

This message was sent by Atlassian JIRA

View raw message