Anshika Agarwal created JCRVLT-86:
-------------------------------------
Summary: JackrabbitUserManagement is unable to add member to
existing group if the member node name is different from its principal id.
Key: JCRVLT-86
URL: https://issues.apache.org/jira/browse/JCRVLT-86
Project: Jackrabbit FileVault
Issue Type: Bug
Affects Versions: 3.1.18
Reporter: Anshika Agarwal
Fix For: 3.1.18
I have a use case of adding members to a common group via multiple packages. In
order to achieve this, I have specified the same filter in both the packages
with mode='merge' attribute.
This works well as long as the group I am adding as a member has an
authorizable ID that is same as its node name. However, if the node name of the
group is different from the authorizable ID, the group does not get added as a
member. The following warning log is seen at the time of package installation:
org.apache.jackrabbit.vault.fs.spi.impl.jcr20.JackrabbitUserManagement unable
to add authorizable 'forms-manager-administrator' to group 'forms-users'. No
such authorizable.
Expected: The addMembers API of JackrabbitUserManagement should support members
having a node name different from the authorizable id.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)