From 62690ab25270c14de2e52a43821dc75bbc880b5c Mon Sep 17 00:00:00 2001 From: Dominik Przybyl Date: Thu, 2 Nov 2023 00:17:44 +0100 Subject: [PATCH] refactor --- .../apm/components/reference/reference.html | 28 ++++++++----------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/app/aem/ui.apps.base/src/main/content/jcr_root/apps/apm/components/reference/reference.html b/app/aem/ui.apps.base/src/main/content/jcr_root/apps/apm/components/reference/reference.html index e11a02d9c..4c9044744 100644 --- a/app/aem/ui.apps.base/src/main/content/jcr_root/apps/apm/components/reference/reference.html +++ b/app/aem/ui.apps.base/src/main/content/jcr_root/apps/apm/components/reference/reference.html @@ -88,14 +88,12 @@

Permissions

Wrap them into square brackets like in examples below.
- - FOR-USER "foo" BEGIN - ALLOW "/content" ["ALL"] - ALLOW "/etc" ["READ"] - DENY "/content/bar" ["MODIFY", "DELETE"] - ALLOW "/content/bar" ["jcr:nodeTypeManagement"] - END - + FOR-USER 'foo' BEGIN + ALLOW '/content' ['ALL'] + ALLOW '/etc' ['READ'] + DENY '/content/bar' ['MODIFY', 'DELETE'] + ALLOW '/content/bar' ['jcr:nodeTypeManagement'] +END
The default ACL effects the whole subtree of the target node, you can limit it by adding a @@ -104,13 +102,11 @@

Permissions

You can use STRICT as a glob pattern to match a target node only. See examples below:
- - FOR-USER "foo" BEGIN - ALLOW "/content" glob="bar" ["ALL"] - DENY "/content" glob="bar" ["jcr:nodeTypeManagement"] - ALLOW "/content/foo" glob="STRICT" ["ALL"] - END - + FOR-USER 'foo' BEGIN + ALLOW '/content' glob='bar' ['ALL'] + DENY '/content' glob='bar' ['jcr:nodeTypeManagement'] + ALLOW '/content/foo' glob='STRICT' ['ALL'] +END
@@ -133,4 +129,4 @@

Predefined definitions

- \ No newline at end of file +