JCR-4429 comes a new type of JackrabbitAccessControlList that allows to provide native support for access control management by principal as defined by org.apache.jackrabbit.api.security.JackrabbitAccessControlManager.
now that there exists a new authorization model in Oak (
OAK-8190) that implements these extensions, it would be desirable if the repo-init would cover access control management by principal.
note: while the original aim of
OAK-8190 was to store permissions for system users (aka service users) separately, the implementation in oak-authorization-principalbased is not limited to system users and doesn't mandate the policies to be stored with a user node. the location of the access controlled node is an implementation detail that can be changed. see Jackrabbit API and http://jackrabbit.apache.org/oak/docs/security/authorization/principalbased.html for additional details.