AnsweredAssumed Answered

Custom Home Folders for imported users

Question asked by brunom on Dec 18, 2006
Latest reply on Mar 7, 2007 by andy
Hello all,

This is quite a simple question, I know, but I have been unable to find a way to solve this so a little help wouldn't go amiss.

I've been able to configure Alfresco (1.4) to import users from our LDAP server without too much trouble but I am trying to create their Home Folders on a space called "Users" within the "Company Home" instead of the default top level within "Company Home" as it's a bit cluttered.

I've been trying to figure out what I need to put into the personalHomeFolderProvider bean …

    <bean name="personalHomeFolderProvider" class="org.alfresco.repo.security.person.UIDBasedHomeFolderProvider">
        <property name="serviceRegistry">
                    <ref bean="ServiceRegistry" />
                </property>
        <property name="path">
           <value>/${spaces.company_home.childname}</value>
        </property>
        <property name="storeUrl">
           <value>${spaces.store}</value>
        </property>
        <property name="homeFolderManager">
                        <ref bean="homeFolderManager" />
                </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>

But I am not an Alfresco expert so I am not 100% sure yet how to reference different PATHS within the configuration files.

Any hints?

Thank you in advance,

/B

Outcomes