You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/10/20 14:39:52 UTC
[sling-org-apache-sling-repoinit-parser] 43/46: SLING-7061 - Access
control setup of repository-level permissions (i.e. null path)
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-repoinit-parser.git
commit 35ac58d76cbff91d8559683a6c6ef44250a25625
Author: Timothée Maret <tm...@apache.org>
AuthorDate: Tue Sep 19 14:20:54 2017 +0000
SLING-7061 - Access control setup of repository-level permissions (i.e. null path)
* Add test for invalid repository ACL syntax
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1808885 13f79535-47bb-0310-9956-ffa450edef68
---
.../java/org/apache/sling/repoinit/parser/test/ParsingErrorsTest.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/test/java/org/apache/sling/repoinit/parser/test/ParsingErrorsTest.java b/src/test/java/org/apache/sling/repoinit/parser/test/ParsingErrorsTest.java
index 34d5ed8..91fe551 100644
--- a/src/test/java/org/apache/sling/repoinit/parser/test/ParsingErrorsTest.java
+++ b/src/test/java/org/apache/sling/repoinit/parser/test/ParsingErrorsTest.java
@@ -78,6 +78,10 @@ public class ParsingErrorsTest {
// SLING-7066 default mixin is not supported
add(new Object[] { "create path (sling:Folder mixin mix:A) /var/foo", ParseException.class });
add(new Object[] { "create path (mixin mix:A) /var/foo", ParseException.class });
+
+ // SLING-7061
+ add(new Object[] { "set repository ACL for principal1\nallow jcr:somePermission on /\nend", ParseException.class });
+
}};
return result;
}
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.