Skip to content
Permalink
Browse files
Update oak-doc/src/site/markdown/security/authorization/bestpractices.md
Co-authored-by: Jörg Hoh <joerghoh@users.noreply.github.com>
  • Loading branch information
anchela and joerghoh committed May 18, 2022
1 parent 4a24bd7 commit b26d59da46c293f5ec50814017fc7d9f10598dc0
Showing 1 changed file with 1 addition and 1 deletion.
@@ -222,7 +222,7 @@ also [Permissions vs Privileges](../permission/permissionsandprivileges.html)) a
boolean canModifyChildCollection = acMgr.hasPrivileges(parentPath, new Privilege[]{jcrAddChildNodes, jcrRemoveChildNodes}

# test if existing child node can be removed
boolean canRemoveNode = acMgr.hasPrivileges(toRemove, new Privilege[]{jcrRemoveNode}
boolean canRemoveNode = acMgr.hasPrivileges(toRemove, new Privilege[]{jcrRemoveNode});


# Testing Permissions (on the target node NOT on the parent)

0 comments on commit b26d59d

Please sign in to comment.