mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)
68122: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud) 67228: MNT-7492: Merged DEV to V4.2-BUG-FIX (4.2.3) 66153: MNT-7492: Simple Web Script fails with "transaction required" error when authentication=none - Retrieve baseDir of the RepoStore on behalf of System User git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@68407 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -257,7 +257,13 @@ public class RepoStore extends AbstractStore implements TenantDeployer
|
||||
|
||||
private String getBaseDir()
|
||||
{
|
||||
return getPath(getBaseNodeRef());
|
||||
return AuthenticationUtil.runAs(new AuthenticationUtil.RunAsWork<String>()
|
||||
{
|
||||
public String doWork() throws Exception
|
||||
{
|
||||
return getPath(getBaseNodeRef());
|
||||
}
|
||||
}, AuthenticationUtil.getSystemUserName());
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
|
Reference in New Issue
Block a user