You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2017/12/21 14:54:46 UTC

[sling-site] branch master updated (d8704bf -> 5eea989)

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

bdelacretaz pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git.


    from d8704bf  Merge pull request #5 from AndresBott/master
     new c42998f  Add empty rep:glob example
     new 5eea989  Tabs to spaces

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../bundles/repository-initialization.md           | 22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@sling.apache.org" <co...@sling.apache.org>'].

[sling-site] 02/02: Tabs to spaces

Posted by bd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

bdelacretaz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git

commit 5eea989a0eee1183665e264a4a1ffd362e83fc17
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Thu Dec 21 15:54:20 2017 +0100

    Tabs to spaces
---
 .../bundles/repository-initialization.md           | 24 +++++++++++-----------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/src/main/jbake/content/documentation/bundles/repository-initialization.md b/src/main/jbake/content/documentation/bundles/repository-initialization.md
index 68975f3..770a01d 100644
--- a/src/main/jbake/content/documentation/bundles/repository-initialization.md
+++ b/src/main/jbake/content/documentation/bundles/repository-initialization.md
@@ -77,18 +77,18 @@ The language is self-explaining but please refer to the actual test cases for de
     end
 	
     set ACL for restrictions_examples
-	    deny jcr:modifyProperties on /apps, /content nodetypes sling:Folder, nt:unstructured restriction(rep:itemNames,prop1,prop2)
-	    allow jcr:addChildNodes on /apps restriction(rep:ntNames,sling:Folder,nt:unstructured)
-	    allow jcr:modifyProperties on /apps restriction(rep:ntNames,sling:Folder,nt:unstructured) restriction(rep:itemNames,prop1,prop2)
-	    allow jcr:addChildNodes on /apps,/content restriction(rep:glob,/cat/*,*/cat,*cat/*)
-
-            # empty rep:glob means "apply to this node but not its children"
-            # (requires o.a.s.jcr.repoinit 1.1.8)
-            allow jcr:something on / restriction(rep:glob)
-	end
-
-	# Set repository level ACL
-	# Setting repository level ACL require
+        deny jcr:modifyProperties on /apps, /content nodetypes sling:Folder, nt:unstructured restriction(rep:itemNames,prop1,prop2)
+        allow jcr:addChildNodes on /apps restriction(rep:ntNames,sling:Folder,nt:unstructured)
+        allow jcr:modifyProperties on /apps restriction(rep:ntNames,sling:Folder,nt:unstructured) restriction(rep:itemNames,prop1,prop2)
+        allow jcr:addChildNodes on /apps,/content restriction(rep:glob,/cat/*,*/cat,*cat/*)
+
+        # empty rep:glob means "apply to this node but not its children"
+        # (requires o.a.s.jcr.repoinit 1.1.8)
+        allow jcr:something on / restriction(rep:glob)
+    end
+
+    # Set repository level ACL
+    # Setting repository level ACL require
     # o.a.s.repoinit.parser 1.2.0 and
     # o.a.s.jcr.repoinit 1.2.0
     set repository ACL for alice,bob

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.

[sling-site] 01/02: Add empty rep:glob example

Posted by bd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

bdelacretaz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git

commit c42998fc3c567fee6acdd0a5020ba9b59e9bb7a2
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Thu Dec 21 15:49:54 2017 +0100

    Add empty rep:glob example
---
 .../content/documentation/bundles/repository-initialization.md      | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/main/jbake/content/documentation/bundles/repository-initialization.md b/src/main/jbake/content/documentation/bundles/repository-initialization.md
index b037b73..68975f3 100644
--- a/src/main/jbake/content/documentation/bundles/repository-initialization.md
+++ b/src/main/jbake/content/documentation/bundles/repository-initialization.md
@@ -76,11 +76,15 @@ The language is self-explaining but please refer to the actual test cases for de
         deny jcr:all on / nodetypes example:Page
     end
 	
-	set ACL for restrictions_examples
+    set ACL for restrictions_examples
 	    deny jcr:modifyProperties on /apps, /content nodetypes sling:Folder, nt:unstructured restriction(rep:itemNames,prop1,prop2)
 	    allow jcr:addChildNodes on /apps restriction(rep:ntNames,sling:Folder,nt:unstructured)
 	    allow jcr:modifyProperties on /apps restriction(rep:ntNames,sling:Folder,nt:unstructured) restriction(rep:itemNames,prop1,prop2)
 	    allow jcr:addChildNodes on /apps,/content restriction(rep:glob,/cat/*,*/cat,*cat/*)
+
+            # empty rep:glob means "apply to this node but not its children"
+            # (requires o.a.s.jcr.repoinit 1.1.8)
+            allow jcr:something on / restriction(rep:glob)
 	end
 
 	# Set repository level ACL

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.