copyPrivileges(builder);
copyVersionStore(builder, uriToPrefix, idxToPrefix);
copyWorkspaces(builder, uriToPrefix, idxToPrefix);
String groupsPath;
UserManagerConfig userConfig = config.getSecurityConfig().getSecurityManagerConfig().getUserManagerConfig();
if (userConfig != null) {
groupsPath = userConfig.getParameters().getProperty(UserManagerImpl.PARAM_GROUPS_PATH, UserConstants.DEFAULT_GROUP_PATH);
} else {
groupsPath = UserConstants.DEFAULT_GROUP_PATH;
}
// TODO: default hooks?
CommitHook hook = new CompositeHook(