Angela Schreiber created OAK-9059:
-------------------------------------
Summary: Moving nodes doesn't remove source path(s) from
HIDDEN_NESTED_CUGS
Key: OAK-9059
URL: https://issues.apache.org/jira/browse/OAK-9059
Project: Jackrabbit Oak
Issue Type: Bug
Components: authorization-cug
Reporter: Angela Schreiber
Assignee: Angela Schreiber
when moving a tree that hold a nested CUG structure the HIDDEN_NESTED_CUGS
property gets updated to contain the new destination path (i.e. during the
second 'add'-phase of the move) but doesn't remove the original source path.
while permission evaluation is correct, this may lead to
{{IllegalArgumentException}} raised by
{{org.apache.jackrabbit.oak.commons.PathUtils.relativize}} called during
{{NestedCugHook$Diff.childNodeDeleted}}, when the policy node containing the
HIDDEN_NESTED_CUGS property is removed later on.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)