Skip to content

Commit

Permalink
Fix authorization level for reading compatibility level (#5225)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlesarnal authored Sep 23, 2024
1 parent 4bdf52b commit 604d0ee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ private void updateCompatibilityLevel(CompatibilityLevelDto.Level level,


@Override
@Authorized(style=AuthorizedStyle.None, level=AuthorizedLevel.Admin)
@Authorized(style = AuthorizedStyle.None, level = AuthorizedLevel.Read)
public CompatibilityLevelParamDto getGlobalCompatibilityLevel() {
logger.warn("The Confluent V6 compatibility API is deprecated and will be removed in future versions");
return getCompatibilityLevel(() -> getStorage().getGlobalRule(RuleType.COMPATIBILITY).getConfiguration());
Expand Down

0 comments on commit 604d0ee

Please sign in to comment.