mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
REPO-4132: User 'System' cleanup follow-up (Revert changes in REPO-3743) (#330)
* Reverted changes for REPO-3743 #276 * Changes in PersonService to ensure a consistent behaviour for the System case: - PersonService.createPerson() throws now an AlfrescoRuntimeException when trying to create a person for the username 'System' - PersonService.getPerson("System") throws NoSuchPersonException - PersonService.personExists("System") returns false * Remove StandardRenditionLocationResolverTest tests from the suite - the RenditionService deprecated, so related tests won't be maintained * Fixes for the System user case in ImapService * Update alfresco-data-model 8.27
This commit is contained in:
@@ -667,7 +667,7 @@ public class ContentDiskDriver extends AlfrescoTxDiskDriver implements DiskInter
|
||||
// Use the system user as the authenticated context for the filesystem initialization
|
||||
|
||||
AuthenticationUtil.pushAuthentication();
|
||||
AuthenticationUtil.setFullyAuthenticatedUser(AuthenticationUtil.getAdminUserName());
|
||||
AuthenticationUtil.setFullyAuthenticatedUser(AuthenticationUtil.getSystemUserName());
|
||||
|
||||
// Start the transaction
|
||||
|
||||
|
Reference in New Issue
Block a user