[ 
https://issues.apache.org/jira/browse/SLING-5228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15693196#comment-15693196
 ] 

Konrad Windszus edited comment on SLING-5228 at 11/24/16 12:42 PM:
-------------------------------------------------------------------

The one being configured at {{sling.jcrinstall.new.config.path}} is only used 
in case you deal with a new config. In case an existing configuration was just 
modified, the write-back will just use the first level from 
{{sling.jcrinstall.new.config.path}} and will otherwise be equal to the 
original location (see 
https://github.com/apache/sling/blob/trunk/installer/providers/jcr/src/main/java/org/apache/sling/installer/provider/jcr/impl/JcrInstaller.java#L688).
 Therefore you must grant write access to the first level which is given in 
{{sling.jcrinstall.new.config.path}} (usually "/apps").


was (Author: kwin):
The one being configured at {{sling.jcrinstall.new.config.path}} is only used 
in case you deal with a new config. In case an existing configuration was just 
modified, the write-back will just use the first level from 
{{sling.jcrinstall.new.config.path}} and will otherwise be equal to the 
original location (see 
https://github.com/apache/sling/blob/trunk/installer/providers/jcr/src/main/java/org/apache/sling/installer/provider/jcr/impl/JcrInstaller.java#L688).
 Therefore you must grant write access to the first level which is given in 
{{sling.jcrinstall.new.config.path}}.

> Remove loginAdministrative() usage from 
> org.apache.sling.installer.provider.jcr
> -------------------------------------------------------------------------------
>
>                 Key: SLING-5228
>                 URL: https://issues.apache.org/jira/browse/SLING-5228
>             Project: Sling
>          Issue Type: Improvement
>          Components: Installer
>            Reporter: Antonio Sanso
>            Assignee: Robert Munteanu
>             Fix For: JCR Installer 3.1.20
>
>
> Counted 4 occurrences



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to