mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-02 03:39:03 +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(
|
||||
context.getAuthorizer(),
|
||||
context.getAuthentication().getActor().toUrnStr(),
|
||||
PoliciesConfig.DATASET_PRIVILEGES.getResourceType(),
|
||||
PoliciesConfig.TAG_PRIVILEGES.getResourceType(),
|
||||
update.getUrn(),
|
||||
orPrivilegeGroups);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user