Skip to content

Commit

Permalink
Merge branch 'master' into fix-apm-editor
Browse files Browse the repository at this point in the history
# 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
  • Loading branch information
dprzybyl committed Nov 2, 2023
2 parents f9e6986 + ad22830 commit 2a08b17
Showing 1 changed file with 12 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,12 @@ <h3><a name="permissions">Permissions</a></h3>
Wrap them into square brackets like in examples below.

<div class="code-example">
<code>
FOR-USER "foo" BEGIN
ALLOW "/content" ["ALL"]
ALLOW "/etc" ["READ"]
DENY "/content/bar" ["MODIFY", "DELETE"]
ALLOW "/content/bar" ["jcr:nodeTypeManagement"]
END
</code>
<code>FOR-USER 'foo' BEGIN
ALLOW '/content' ['ALL']
ALLOW '/etc' ['READ']
DENY '/content/bar' ['MODIFY', 'DELETE']
ALLOW '/content/bar' ['jcr:nodeTypeManagement']
END</code>
</div>

The default ACL effects the whole subtree of the target node, you can limit it by adding a
Expand All @@ -104,13 +102,11 @@ <h3><a name="permissions">Permissions</a></h3>
You can use STRICT as a glob pattern to match a target node only. See examples below:

<div class="code-example">
<code>
FOR-USER "foo" BEGIN
ALLOW "/content" glob="bar" ["ALL"]
DENY "/content" glob="bar" ["jcr:nodeTypeManagement"]
ALLOW "/content/foo" glob="STRICT" ["ALL"]
END
</code>
<code>FOR-USER 'foo' BEGIN
ALLOW '/content' glob='bar' ['ALL']
DENY '/content' glob='bar' ['jcr:nodeTypeManagement']
ALLOW '/content/foo' glob='STRICT' ['ALL']
END</code>
</div>
</section>
<section>
Expand All @@ -133,4 +129,4 @@ <h3><a name="predefined-definitions">Predefined definitions</a></h3>
</tbody>
</table>
</section>
</div>
</div>

0 comments on commit 2a08b17

Please sign in to comment.