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

Konrad Windszus commented on SLING-9422:
----------------------------------------

The actual installation still uses an administrative session in 
https://github.com/apache/sling-org-apache-sling-installer-factory-packages/blob/84b0f9243e2c7cc733762e8ce199549632eaf9a2/src/main/java/org/apache/sling/installer/factory/packages/impl/PackageTransformer.java#L262.

> Content Package Installer: Use service resource resolvers instead of admin 
> resource resolver for installation
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: SLING-9422
>                 URL: https://issues.apache.org/jira/browse/SLING-9422
>             Project: Sling
>          Issue Type: Improvement
>          Components: Installer
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: Installer Packages Factory 1.0.0
>
>
> Currently the {{PackageTransformer}} uses an an administrative session. 
> Instead {{SlingRepository.loginService()}} should be used together with an 
> according service user mapping. The user needs basically write access to all 
> locations which is covered by packages and {{/etc/packages}} itself.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to