You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by an...@apache.org on 2022/03/01 11:01:07 UTC

[sling-org-apache-sling-repoinit-parser] branch SLING-11160 updated (280ac77 -> 08e10aa)

This is an automated email from the ASF dual-hosted git repository.

angela pushed a change to branch SLING-11160
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-repoinit-parser.git.


    from 280ac77  SLING-11160 : Repoinit does not allow to remove individual ACEs (parser)
     add 08e10aa  SLING-11160 : Repoinit does not allow to remove individual ACEs (refactor to address review findings)

No new revisions were added by this update.

Summary of changes:
 .../repoinit/parser/operations/AclGroupBase.java   | 12 +--
 .../sling/repoinit/parser/operations/AclLine.java  | 34 ++-------
 .../parser/operations/OperationVisitor.java        |  3 +
 .../{SetAclPaths.java => RemoveAclPaths.java}      | 25 +++---
 ...ipalBased.java => RemoveAclPrincipalBased.java} | 26 +++----
 ...rincipalBased.java => RemoveAclPrincipals.java} | 30 +++-----
 src/main/javacc/RepoInitGrammar.jjt                | 89 +++++++++++++++++-----
 .../parser/test/OperationToStringVisitor.java      | 48 ++++++++++++
 src/test/resources/testcases/test-11-output.txt    |  2 +-
 src/test/resources/testcases/test-11.txt           |  2 +-
 src/test/resources/testcases/test-30-output.txt    |  2 +-
 src/test/resources/testcases/test-30.txt           |  2 +-
 src/test/resources/testcases/test-33-output.txt    |  2 +-
 src/test/resources/testcases/test-33.txt           |  2 +-
 src/test/resources/testcases/test-35-output.txt    | 20 +++++
 src/test/resources/testcases/test-35.txt           | 35 +++++++++
 16 files changed, 225 insertions(+), 109 deletions(-)
 copy src/main/java/org/apache/sling/repoinit/parser/operations/{SetAclPaths.java => RemoveAclPaths.java} (74%)
 copy src/main/java/org/apache/sling/repoinit/parser/operations/{SetAclPrincipalBased.java => RemoveAclPrincipalBased.java} (71%)
 copy src/main/java/org/apache/sling/repoinit/parser/operations/{SetAclPrincipalBased.java => RemoveAclPrincipals.java} (71%)
 create mode 100644 src/test/resources/testcases/test-35-output.txt
 create mode 100644 src/test/resources/testcases/test-35.txt