mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
[RM-900] MT: Impossible to create RM site as tenant. Now looks to see if MT is enabled and formats the rmadmin's name in the proper format. Also handles the super tenant which requires no domain name for the user name. Added private method (using RMv2RMAdminUserPatch as example) to create the user if it was not already created during bootstrapDefaultRoles. onCreateRootNode now calls BootstrapImporterModuleComponent.execute() to test for and create rm_config_folder if needed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54946 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -567,6 +567,11 @@
|
||||
<property name="policyComponent" ref="policyComponent"/>
|
||||
<property name="filePlanService" ref="FilePlanService" />
|
||||
<property name="filePlanAuthenticationService" ref="FilePlanAuthenticationService" />
|
||||
<property name="authenticationService" ref="AuthenticationService" />
|
||||
<property name="personService" ref="PersonService" />
|
||||
|
||||
<!-- init repo for when a tenant is created -->
|
||||
<property name="bootstrapImporterModuleComponent" ref="org_alfresco_module_rm_bootstrapData"/>
|
||||
|
||||
</bean>
|
||||
|
||||
@@ -1188,6 +1193,9 @@
|
||||
<property name="rmAdminUserName" value="${bootstrap.rmadmin.name}" />
|
||||
<property name="rmAdminFirstName" value="${bootstrap.rmadmin.firstName}" />
|
||||
<property name="rmAdminLastName" value="${bootstrap.rmadmin.lastName}" />
|
||||
<property name="tenantService">
|
||||
<ref bean="tenantService"/>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="FilePlanAuthenticationService" class="org.springframework.aop.framework.ProxyFactoryBean">
|
||||
|
Reference in New Issue
Block a user