Eric Norman created SLING-12992:
-----------------------------------
Summary: MockUserManager is interpreting the intermediatePath
argument incorrectly when creating users and groups
Key: SLING-12992
URL: https://issues.apache.org/jira/browse/SLING-12992
Project: Sling
Issue Type: Bug
Reporter: Eric Norman
Assignee: Eric Norman
Fix For: Testing JCR Mock 1.7.0
The current MockUserManager implementation is interpreting the intermediatePath
argument when creating a user or group as an absolute path.
The real oak/jackrabbit implementation is interpreting that argument as a
relative path that is appended to the configured usersPath or groupsPath
location.
Expected: the MockUserManager should behave more like the real implementation.
Also, for MockUserManager#createSystemUser implementation, the intermediatePath
value should have additional validation to ensure the value starts with
"system".
--
This message was sent by Atlassian Jira
(v8.20.10#820010)