You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Eric Norman (Jira)" <ji...@apache.org> on 2020/10/28 23:00:02 UTC
[jira] [Commented] (SLING-9862) Support installing repoinit files
listed in bundle header
[ https://issues.apache.org/jira/browse/SLING-9862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17222567#comment-17222567 ]
Eric Norman commented on SLING-9862:
------------------------------------
Would you consider just adding repoinit "txt" as another file format that would be handled as a new ContentReader via the org.apache.sling.jcr.contentloader bundle?
> Support installing repoinit files listed in bundle header
> ---------------------------------------------------------
>
> Key: SLING-9862
> URL: https://issues.apache.org/jira/browse/SLING-9862
> Project: Sling
> Issue Type: New Feature
> Components: Repoinit
> Affects Versions: Repoinit JCR 1.1.26
> Reporter: Julian Sedding
> Assignee: Julian Sedding
> Priority: Minor
>
> Implement support for a {{Sling-RepoInit}} bundle header that consists of a comma separated list of relative paths pointing to resources within the bundle. For each bundle with a non-empty {{Sling-RepoInit}} header, a {{SlingRepositoryInitializer}} that applies all repoinit files referenced in the header, should be dynamically registered.
> Such a mechanism would allow bundles to install their own service-user and corresponding ACLs.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)