[ 
https://issues.apache.org/jira/browse/SLING-10184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Angela Schreiber updated SLING-10184:
-------------------------------------
    Description: 
[~karlpauls], as discussed i would like to suggest to add a bit of additional 
analysis to the repo-init checks in the feature model analyzer.

the following features in repo-init should IMHO trigger a warning or fail the 
analyser:
- regular user creation with password 
- ac-handling defined with access control setup that is present in the parser 
but luckily not implemented in the jcr-part (see SLING-6423)
- resource-based access control setup with service users (maybe too AEM 
specific where principal-based-ac-setup should be used for service users)
- minor: duplicate _set ACL for principalName_ statements for the same 
principal that could be merged into a single set-acl-...-end block

  was:
[~karlpauls], as discussed i would like to suggest to add a bit of additional 
analysis to the repo-init checks in the feature model analyzer.

the following features in repo-init should IMHO trigger a warning or fail the 
analyser:
- regular user creation with password 
- ac-handling defined with access control setup that is present in the parser 
but luckily not implemented in the jcr-part (see SLING-6423)
- minor: duplicate _set ACL for principalName_ statements for the same 
principal that could be merged into a single set-acl-...-end block


> Spot problematic patters with RepoInit Analyzer
> -----------------------------------------------
>
>                 Key: SLING-10184
>                 URL: https://issues.apache.org/jira/browse/SLING-10184
>             Project: Sling
>          Issue Type: Improvement
>          Components: Feature Model Analyser
>            Reporter: Angela Schreiber
>            Priority: Major
>
> [~karlpauls], as discussed i would like to suggest to add a bit of additional 
> analysis to the repo-init checks in the feature model analyzer.
> the following features in repo-init should IMHO trigger a warning or fail the 
> analyser:
> - regular user creation with password 
> - ac-handling defined with access control setup that is present in the parser 
> but luckily not implemented in the jcr-part (see SLING-6423)
> - resource-based access control setup with service users (maybe too AEM 
> specific where principal-based-ac-setup should be used for service users)
> - minor: duplicate _set ACL for principalName_ statements for the same 
> principal that could be merged into a single set-acl-...-end block



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

Reply via email to