accesscontroltool
accesscontroltool copied to clipboard
Allow to set distinct authorizable ids and principal names for users/groups being created
Currently AC Tools always assumes that the authorizable id is equal to the principal name. Jackrabbit does not enforce this equality. In fact Oak uses different authorizable ids and principal names for groups created from the LDAP. Therefore I would propose the following changes:
- Clarify in the documentation that the entry value for the group configuration (https://github.com/Netcentric/accesscontroltool/blob/develop/docs/Configuration.md#configuration-of-groups) and user configuration (https://github.com/Netcentric/accesscontroltool/blob/develop/docs/Configuration.md#configuration-of-users) refers to authorizable ids.
- Clarify that the ACE section (https://github.com/Netcentric/accesscontroltool/blob/develop/docs/Configuration.md#configuration-of-aces) refers to principal names (which are usually equal to the authorizable ids)
- Optionally allow to specify a dedicated
rep:principalNameproperty for both groups and users and to set that accordingly when the YAML is processed.
Points 1. and 2. are done (documentation).
@kwin Can you think of a real-world use case for 3.? (LDAP and other externalIds are covered already by externalId setting....)