Default UserHome for new user in share
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2013 12:19 PM
Hi,
I work on alfresco 4.2. I want to use alfresco share for a project.
My problem is that I want to change the default user home directory when we create a new user in share.
I have done this for alfresco (not share) by modifing the web-client-config.xml file:
<blockcode>
<default-home-space-path>/app:company_home/cm:HR/cm:users</default-home-space-path>
<initial-location>userhome</initial-location>
</blockcode>
So in alfresco (not share) when I create a user the default user home is created in /app:company_home/cm:HR/cm:users
and when a user is connecting to alfresco the first page is his directory: /app:company_home/cm:HR/cm:users/cm:myUser
So I want the same thing with alfresco share. How can I resolve this issue?
Thanks in advance,
Best regards,
Julian
I work on alfresco 4.2. I want to use alfresco share for a project.
My problem is that I want to change the default user home directory when we create a new user in share.
I have done this for alfresco (not share) by modifing the web-client-config.xml file:
<blockcode>
<default-home-space-path>/app:company_home/cm:HR/cm:users</default-home-space-path>
<initial-location>userhome</initial-location>
</blockcode>
So in alfresco (not share) when I create a user the default user home is created in /app:company_home/cm:HR/cm:users
and when a user is connecting to alfresco the first page is his directory: /app:company_home/cm:HR/cm:users/cm:myUser
So I want the same thing with alfresco share. How can I resolve this issue?
Thanks in advance,
Best regards,
Julian
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2013 03:56 PM
I found the solution:
you have to change the authentication-context.xml and put:
<blockcode>
<bean name="userHomesHomeFolderProvider" parent="usernameHomeFolderProvider">
<property name="rootPath">
<value>/${spaces.company_home.childname}/cm:HR/cm:users</value>
</property>
<property name="storeUrl">
<value>${spaces.store}</value>
</property>
</bean>
</blockcode>
you have to change the authentication-context.xml and put:
<blockcode>
<bean name="userHomesHomeFolderProvider" parent="usernameHomeFolderProvider">
<property name="rootPath">
<value>/${spaces.company_home.childname}/cm:HR/cm:users</value>
</property>
<property name="storeUrl">
<value>${spaces.store}</value>
</property>
</bean>
</blockcode>
