sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tma...@apache.org
Subject svn commit: r1808885 - /sling/trunk/bundles/extensions/repoinit/parser/src/test/java/org/apache/sling/repoinit/parser/test/ParsingErrorsTest.java
Date Tue, 19 Sep 2017 14:20:54 GMT
Author: tmaret
Date: Tue Sep 19 14:20:54 2017
New Revision: 1808885

URL: http://svn.apache.org/viewvc?rev=1808885&view=rev
Log:
SLING-7061 - Access control setup of repository-level permissions (i.e. null path)

* Add test for invalid repository ACL syntax

Modified:
    sling/trunk/bundles/extensions/repoinit/parser/src/test/java/org/apache/sling/repoinit/parser/test/ParsingErrorsTest.java

Modified: sling/trunk/bundles/extensions/repoinit/parser/src/test/java/org/apache/sling/repoinit/parser/test/ParsingErrorsTest.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/repoinit/parser/src/test/java/org/apache/sling/repoinit/parser/test/ParsingErrorsTest.java?rev=1808885&r1=1808884&r2=1808885&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/repoinit/parser/src/test/java/org/apache/sling/repoinit/parser/test/ParsingErrorsTest.java
(original)
+++ sling/trunk/bundles/extensions/repoinit/parser/src/test/java/org/apache/sling/repoinit/parser/test/ParsingErrorsTest.java
Tue Sep 19 14:20:54 2017
@@ -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;
     }



Mime
View raw message