AnsweredAssumed Answered

createMissingPeople - Enabling/Disabling

Question asked by robbieosullivan on Apr 28, 2006
Latest reply on May 2, 2006 by robbieosullivan
Hi,

I want to turn off the feature that creates missing people dynamically.

This is in PersonServiceImpl where the getPerson() method tries to get the person node for the user specified. If the property createMissingPeople is true then a person node will be created for that user.

If createMissingPeople is false then a person node is not created and a NoSuchPersonException exception is generated.

createMissingPeople is set in the following file ../repository/config/alfresco/authentication-services-context.xml


        <property name="createMissingPeople">
           <value>${server.transaction.allow-writes}</value>
        </property>

This property is set in the following file  ../repository/config/domian/transaction.properties

This property is also referenced by ../repository/config/alfresco/core-services-context.xml in the following section:

    <!– transaction service –>
    <bean id="transactionComponent" class="org.alfresco.repo.transaction.TransactionComponent">
        <property name="transactionManager">
            <ref bean="transactionManager" />
        </property>
        <property name="allowWrite">
            <value>${server.transaction.allow-writes}</value>
        </property>
    </bean>

Just wanted to check what impact setting this value to false would have on the transactionComponent bean.

Outcomes