Skip to content

Commit

Permalink
Fix current user authorization level (#5636)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlesarnal authored Dec 2, 2024
1 parent bebcf82 commit 6459dcb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public class UsersResourceImpl implements UsersResource {
* @see io.apicurio.registry.rest.v2.UsersResource#getCurrentUserInfo()
*/
@Override
@Authorized(style=AuthorizedStyle.None, level=AuthorizedLevel.None)
@Authorized(style=AuthorizedStyle.None, level=AuthorizedLevel.Read)
public UserInfo getCurrentUserInfo() {
UserInfo info = new UserInfo();
info.setUsername(securityIdentity.getPrincipal().getName());
Expand Down

0 comments on commit 6459dcb

Please sign in to comment.