sling-dev mailing list archives

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

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

Simone Tripodi resolved SLING-8387.
-----------------------------------
    Resolution: Fixed

fixed in https://github.com/apache/sling-org-apache-sling-feature-cpconverter/commit/636da3edd4f2e7a4728693914146b2e899e47c30

> 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)

Mime
View raw message