ATLAS-3947 : Skip authorization for read of _ALL_ENTITY_TYPES and _ALL_CLASSIFICATION_TYPES types
Change-Id: Iecd8ab427510cb37aaff99e420c25a579631dd4d
This commit is contained in:
parent
4bc1c04ade
commit
74229d8704
|
|
@ -270,6 +270,7 @@ public abstract class AtlasTypeDefGraphStore implements AtlasTypeDefStore {
|
|||
if (ret == null) {
|
||||
throw new AtlasBaseException(AtlasErrorCode.TYPE_NAME_NOT_FOUND, name);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
AtlasAuthorizationUtils.verifyAccess(new AtlasTypeAccessRequest(AtlasPrivilege.TYPE_READ, ret), "read type ", name);
|
||||
|
|
@ -322,6 +323,7 @@ public abstract class AtlasTypeDefGraphStore implements AtlasTypeDefStore {
|
|||
if (ret == null) {
|
||||
throw new AtlasBaseException(AtlasErrorCode.TYPE_NAME_NOT_FOUND, name);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
AtlasAuthorizationUtils.verifyAccess(new AtlasTypeAccessRequest(AtlasPrivilege.TYPE_READ, ret), "read type ", name);
|
||||
|
|
|
|||
Loading…
Reference in New Issue