You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to grant some privileges to a parent node without granting any privileges to the child and descendant nodes, and grant different privileges to the child nodes.
The yaml[1], which grants a privilege for the parent node only itself, was made referring to the document [2]. It can apply only the parent node as expected, however the error[3] happens when the order of any child node is changed.
When the yaml[4] is applied, the order can be changed, but this yaml affects all child and descendant nodes.
Reading the error message[3], this error is caused by not granting the modified privilege for the ':childOrder' hidden property on the parent node, however, I couldn't find how to grant modified privilege for the ':childOrder' hidden property without granting any privilege to the child and descendant nodes.
Could you give me some suggestion to solve this problem?
[1]
- path: /content/we-retail/us/en
permission: allow
actions:
privileges: jcr:read,jcr:modifyProperties,jcr:addChildNodes,jcr:removeChildNodes
repGlob: "" # matches node /foo only (no descendants, not even properties)
- path: /content/we-retail/us/en
permission: allow
actions:
privileges: jcr:read,jcr:modifyProperties,jcr:addChildNodes,jcr:removeChildNodes
repGlob: /jcr:*
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, all
I'm trying to grant some privileges to a parent node without granting any privileges to the child and descendant nodes, and grant different privileges to the child nodes.
The yaml[1], which grants a privilege for the parent node only itself, was made referring to the document [2]. It can apply only the parent node as expected, however the error[3] happens when the order of any child node is changed.
When the yaml[4] is applied, the order can be changed, but this yaml affects all child and descendant nodes.
Reading the error message[3], this error is caused by not granting the modified privilege for the ':childOrder' hidden property on the parent node, however, I couldn't find how to grant modified privilege for the ':childOrder' hidden property without granting any privilege to the child and descendant nodes.
Could you give me some suggestion to solve this problem?
[1]
[2] https://github.com/Netcentric/accesscontroltool/blob/develop/docs/BestPractices.md
[3]
[4]
Beta Was this translation helpful? Give feedback.
All reactions