Skip to content

Commit d69f6d8

Browse files
committed
HBASE-28391 Remove the need for ADMIN permissions for listDecommissionedRegionServers (#5695)
(cherry picked from commit 4b55243)
1 parent 9ae26c3 commit d69f6d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1207,7 +1207,7 @@ public void preDecommissionRegionServers(ObserverContext<MasterCoprocessorEnviro
12071207
@Override
12081208
public void preListDecommissionedRegionServers(ObserverContext<MasterCoprocessorEnvironment> ctx)
12091209
throws IOException {
1210-
requirePermission(ctx, "listDecommissionedRegionServers", Action.ADMIN);
1210+
requirePermission(ctx, "listDecommissionedRegionServers", Action.READ);
12111211
}
12121212

12131213
@Override

0 commit comments

Comments
 (0)