ALF-13194: Can't log in to Share 4.2.b with only external authentication in the chain because of call to restrictions API as guest user

- New regression in RepositoryContainer - wasn't allowing authentication work to run in a write transaction and 'lazily' create any new persons (including guest)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@43375 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Dave Ward
2012-11-04 12:03:16 +00:00
parent 06daa09ff4
commit d918bad163

View File

@@ -338,7 +338,7 @@ public class RepositoryContainer extends AbstractRuntimeContainer implements Ten
} }
}; };
if (retryingTransactionHelper.doInTransaction(authWork, true)) if (retryingTransactionHelper.doInTransaction(authWork))
{ {
// Execute Web Script if authentication passed // Execute Web Script if authentication passed
// The Web Script has its own txn management with potential runAs() user // The Web Script has its own txn management with potential runAs() user