Skip to content

Commit 2a08b17

Browse files
committed
Merge branch 'master' into fix-apm-editor
# Conflicts: # app/aem/core/src/main/java/com/cognifide/apm/core/scripts/LaunchMetadata.java # app/aem/core/src/main/java/com/cognifide/apm/core/services/ScriptsResourceChangeListener.java
2 parents f9e6986 + ad22830 commit 2a08b17

File tree

1 file changed

+12
-16
lines changed
  • app/aem/ui.apps.base/src/main/content/jcr_root/apps/apm/components/reference

1 file changed

+12
-16
lines changed

app/aem/ui.apps.base/src/main/content/jcr_root/apps/apm/components/reference/reference.html

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,12 @@ <h3><a name="permissions">Permissions</a></h3>
8888
Wrap them into square brackets like in examples below.
8989

9090
<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>
9997
</div>
10098

10199
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>
104102
You can use STRICT as a glob pattern to match a target node only. See examples below:
105103

106104
<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>
114110
</div>
115111
</section>
116112
<section>
@@ -133,4 +129,4 @@ <h3><a name="predefined-definitions">Predefined definitions</a></h3>
133129
</tbody>
134130
</table>
135131
</section>
136-
</div>
132+
</div>

0 commit comments

Comments
 (0)