Skip to content

Commit

Permalink
HBASE-28391 Remove the need for ADMIN permissions for listDecommissio…
Browse files Browse the repository at this point in the history
…nedRegionServers (#5695)

(cherry picked from commit 4b55243)
  • Loading branch information
shahrs87 committed Feb 27, 2024
1 parent ac01d72 commit db6c4b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1207,7 +1207,7 @@ public void preDecommissionRegionServers(ObserverContext<MasterCoprocessorEnviro
@Override
public void preListDecommissionedRegionServers(ObserverContext<MasterCoprocessorEnvironment> ctx)
throws IOException {
requirePermission(ctx, "listDecommissionedRegionServers", Action.ADMIN);
requirePermission(ctx, "listDecommissionedRegionServers", Action.READ);
}

@Override
Expand Down

0 comments on commit db6c4b2

Please sign in to comment.