@@ -88,14 +88,12 @@ <h3><a name="permissions">Permissions</a></h3>
88
88
Wrap them into square brackets like in examples below.
89
89
90
90
< div class ="code-example ">
91
- < code >
92
- FOR-USER "foo" BEGIN
93
- ALLOW "/content" ["ALL"]
94
- ALLOW "/etc" ["READ"]
95
- DENY "/content/bar" ["MODIFY", "DELETE"]
96
- ALLOW "/content/bar" ["jcr:nodeTypeManagement"]
97
- END
98
- </ code >
91
+ < code > FOR-USER 'foo' BEGIN
92
+ ALLOW '/content' ['ALL']
93
+ ALLOW '/etc' ['READ']
94
+ DENY '/content/bar' ['MODIFY', 'DELETE']
95
+ ALLOW '/content/bar' ['jcr:nodeTypeManagement']
96
+ END</ code >
99
97
</ div >
100
98
101
99
The default ACL effects the whole subtree of the target node, you can limit it by adding a
@@ -104,13 +102,11 @@ <h3><a name="permissions">Permissions</a></h3>
104
102
You can use STRICT as a glob pattern to match a target node only. See examples below:
105
103
106
104
< div class ="code-example ">
107
- < code >
108
- FOR-USER "foo" BEGIN
109
- ALLOW "/content" glob="bar" ["ALL"]
110
- DENY "/content" glob="bar" ["jcr:nodeTypeManagement"]
111
- ALLOW "/content/foo" glob="STRICT" ["ALL"]
112
- END
113
- </ code >
105
+ < code > FOR-USER 'foo' BEGIN
106
+ ALLOW '/content' glob='bar' ['ALL']
107
+ DENY '/content' glob='bar' ['jcr:nodeTypeManagement']
108
+ ALLOW '/content/foo' glob='STRICT' ['ALL']
109
+ END</ code >
114
110
</ div >
115
111
</ section >
116
112
< section >
@@ -133,4 +129,4 @@ <h3><a name="predefined-definitions">Predefined definitions</a></h3>
133
129
</ tbody >
134
130
</ table >
135
131
</ section >
136
- </ div >
132
+ </ div >
0 commit comments