AnsweredAssumed Answered

UIDBasedHomeFolderProvider in user defined space (folder)

Question asked by mdaslam on May 5, 2008
Latest reply on May 14, 2008 by mdaslam
Hi,
I have user space created with name Lincoln in company home ( Root space). I want to have folder( space) with UID in lincoln. I have tried with below configuration in authentication-services-context.xml but its not able to create it. I don't know what value should be given for the path property if the user space is created from the web client. Or Do we have to define a space in repository.properties, if so what should be the value for space configuration.



Thanks in advance, below are the configurations.

1.
<bean name="userHomesHomeFolderProvider" class="org.alfresco.repo.security.person.UIDBasedHomeFolderProvider">
        <property name="serviceRegistry">
            <ref bean="ServiceRegistry" />
        </property>
        <property name="path">
           <value>/${spaces.company_home.childname}/cm:lincoln</value>
        </property>
        <property name="storeUrl">
           <value>${spaces.store}</value>
        </property>
        <property name="homeFolderManager">
            <ref bean="homeFolderManager" />
        </property>
      <!–<property name="templatePath">
           <value>/${spaces.company_home.childname}/cm:Lincoln</value>
        </property>–>
        <property name="inheritsPermissionsOnCreate">
            <value>false</value>
        </property>
        <property name="ownerPemissionsToSetOnCreate">
            <set>
                <value>All</value>
            </set>
        </property>
        <property name="userPemissions">
            <set>
                <value>All</value>
            </set>
        </property>
    </bean>


2.  <property name="path">
           <value>/${spaces.company_home.childname}/Lincoln</value>
        </property>

Outcomes