mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-02 19:58:59 +00:00
fix(auth): Tag Create Privileges were incorrectly using Dataset Create privileges (#3683)
This commit is contained in:
parent
6dffe9b247
commit
44544dfa37
@ -154,7 +154,7 @@ public class TagType implements com.linkedin.datahub.graphql.types.SearchableEnt
|
|||||||
return AuthorizationUtils.isAuthorized(
|
return AuthorizationUtils.isAuthorized(
|
||||||
context.getAuthorizer(),
|
context.getAuthorizer(),
|
||||||
context.getAuthentication().getActor().toUrnStr(),
|
context.getAuthentication().getActor().toUrnStr(),
|
||||||
PoliciesConfig.DATASET_PRIVILEGES.getResourceType(),
|
PoliciesConfig.TAG_PRIVILEGES.getResourceType(),
|
||||||
update.getUrn(),
|
update.getUrn(),
|
||||||
orPrivilegeGroups);
|
orPrivilegeGroups);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user