mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
MT: fix ALF-2472 (upgrade)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22128 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -42,6 +42,7 @@ import org.alfresco.service.cmr.repository.ContentData;
|
|||||||
import org.alfresco.service.cmr.repository.ContentReader;
|
import org.alfresco.service.cmr.repository.ContentReader;
|
||||||
import org.alfresco.service.cmr.repository.ContentWriter;
|
import org.alfresco.service.cmr.repository.ContentWriter;
|
||||||
import org.alfresco.service.namespace.QName;
|
import org.alfresco.service.namespace.QName;
|
||||||
|
import org.alfresco.util.EqualsHelper;
|
||||||
import org.alfresco.util.Pair;
|
import org.alfresco.util.Pair;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -535,7 +536,8 @@ public class MultiTAVMService implements AVMService
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
// MT: return tenant stores only (although for super System return all stores)
|
// MT: return tenant stores only (although for super System return all stores)
|
||||||
if (!AuthenticationUtil.isRunAsUserTheSystemUser())
|
String runAsUser = AuthenticationUtil.getRunAsUser();
|
||||||
|
if (! EqualsHelper.nullSafeEquals(runAsUser, AuthenticationUtil.SYSTEM_USER_NAME))
|
||||||
{
|
{
|
||||||
tenantService.checkDomain(store.getName());
|
tenantService.checkDomain(store.getName());
|
||||||
store = getBaseStore(store);
|
store = getBaseStore(store);
|
||||||
|
Reference in New Issue
Block a user