Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.1.18
-
None
Description
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.