You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (Jira)" <ji...@apache.org> on 2023/02/08 13:16:00 UTC

[jira] [Commented] (SLING-11750) Support the new repoinit statements "enforce principal ACL" and "enforce nodes"

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

Robert Munteanu commented on SLING-11750:
-----------------------------------------

I've identified the following locations where the cpconverter does parse repoinit statements:

- https://github.com/apache/sling-org-apache-sling-feature-cpconverter/blob/610288533413e6b1c302f0425f596eb3f9fa1b7e/src/main/java/org/apache/sling/feature/cpconverter/features/DefaultFeaturesManager.java#LL276C22-L276C22 ( extracts namespaces from the "seed" feature )

I guess that we should clarify is this ticket is about:
- supporting the new syntax introduced with Repoinit Parser 1.9.0
- emiting statements in the new syntax, probably behind a config option to ensure the output can be consumed by systems running older versions of repoinit
- both

As for supporting the new syntax, I think it would be enough to update to the latest repoinit, right? Then the parsing code will not check on the "ensure ..." syntax.

> Support the new repoinit statements "enforce principal ACL" and "enforce nodes"
> -------------------------------------------------------------------------------
>
>                 Key: SLING-11750
>                 URL: https://issues.apache.org/jira/browse/SLING-11750
>             Project: Sling
>          Issue Type: New Feature
>          Components: Content-Package to Feature Model Converter
>            Reporter: Konrad Windszus
>            Priority: Major
>             Fix For: Content-Package to Feature Model Converter 1.3.0
>
>
> With SLING-11736 and SLING-10281 new statements have been introduced. Those should be supported in cp2fm as well.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)