Skip to content

Commit 44544df

Browse files
authored
fix(auth): Tag Create Privileges were incorrectly using Dataset Create privileges (datahub-project#3683)
1 parent 6dffe9b commit 44544df

File tree

1 file changed

+1
-1
lines changed
  • datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/tag

1 file changed

+1
-1
lines changed

datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/tag/TagType.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ private boolean isAuthorized(@Nonnull TagUpdateInput update, @Nonnull QueryConte
154154
return AuthorizationUtils.isAuthorized(
155155
context.getAuthorizer(),
156156
context.getAuthentication().getActor().toUrnStr(),
157-
PoliciesConfig.DATASET_PRIVILEGES.getResourceType(),
157+
PoliciesConfig.TAG_PRIVILEGES.getResourceType(),
158158
update.getUrn(),
159159
orPrivilegeGroups);
160160
}

0 commit comments

Comments
 (0)