You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2015/12/07 14:44:10 UTC

[jira] [Commented] (SLING-5355) Create service users and ACLs from the provisioning model

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

Carsten Ziegeler commented on SLING-5355:
-----------------------------------------

Please note that the latest provisioning model supports "additional" sections. These can be used for basically adding any information in free text format to the model. I suggest we use this feature for this.
Such a section starts with
[:SECTION_NAME] 
and ends either with the end of the file or a line starting with a [
The SECTION_NAME can be freely chosen, we should just come up with some clever names :)
Just in case you need it, you can add attributes after the section name like
[:MY_STUFF a=b c=2]
And all this will be available in the resulting model.

This allows to extend the model without coming up with new features/updates to the parser each time

> Create service users and ACLs from the provisioning model
> ---------------------------------------------------------
>
>                 Key: SLING-5355
>                 URL: https://issues.apache.org/jira/browse/SLING-5355
>             Project: Sling
>          Issue Type: New Feature
>          Components: Service User Mapper
>            Reporter: Bertrand Delacretaz
>
> As discussed in the "Removing loginAdministrative, how to test that, and service username conventions" thread on our dev list [1] we need to be able to create service users and set the corresponding ACLs from our provisioning model.
> This should be implemented using distinct utility classes, one for the users and one for the ACLs, that take simple mini-languages as input. This will allow for reusing these utilities in test code for example.
> I have made a suggestion for those mini languages in that thread, will copy them here once we agree.
> [1] http://markmail.org/message/kcvuhwfdald2dyuz



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