You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2017/12/22 14:32:00 UTC

[jira] [Comment Edited] (SLING-7226) Repoinit: support optional intermediate path for user creation

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

Bertrand Delacretaz edited comment on SLING-7226 at 12/22/17 2:31 PM:
----------------------------------------------------------------------

Parser changes implemented in https://github.com/apache/sling-org-apache-sling-repoinit-parser/commit/02c0d968fdac73240821873d930fabd190c1c9a8 - an optional "with path" clause is now supported for "create user" and "create service user" statements. The parser doesn't check the path and accept both relative and absolute paths.

The JCR repoinit module still needs to be adapted for these new options.


was (Author: bdelacretaz):
Parser changes implemented in https://github.com/apache/sling-org-apache-sling-repoinit-parser/commit/02c0d968fdac73240821873d930fabd190c1c9a8 - an optional "with path" clause is now supported for "create user" and "create service user" statements.

The JCR repoinit module still needs to be adapted for these new options.

> Repoinit: support optional intermediate path for user creation
> --------------------------------------------------------------
>
>                 Key: SLING-7226
>                 URL: https://issues.apache.org/jira/browse/SLING-7226
>             Project: Sling
>          Issue Type: Improvement
>          Components: Repoinit
>    Affects Versions: Repoinit Parser 1.2.0, Repoinit JCR 1.1.6
>            Reporter: angela
>            Assignee: Bertrand Delacretaz
>             Fix For: Repoinit Parser 1.2.2, Repoinit JCR 1.1.8
>
>
> [~marett], [~bdelacretaz], if I am not mistaken it is currently not possible to pass the second parameter 'intermediatePath' when creating a service user using the repo-init.
> In the Jackrabbit {{UserManager}} API the call looks as follows:
> {code}
> UserManager.createSystemUser(String userID, String intermediatePath)
> {code}
> I would appreciate if both params would be respected by the repo-init and I don't think it should be a big deal adding this.
> Thanks.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)