Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
-
Reviewed
Description
Currently permission checking for various RS group operations is done via RSGroupAdminEndpoint.
e.g. in RSGroupAdminServiceImpl#moveServers() :
checkPermission("moveServers");
groupAdminServer.moveServers(hostPorts, request.getTargetGroup());
The practice in remaining parts of hbase is to perform permission checking within AccessController.
Now that observer hooks for RS group operations are in right place, we should follow best practice and move permission checking to AccessController.
Attachments
Attachments
Issue Links
- is fixed by
-
HBASE-22932 Add rs group management methods in Admin and AsyncAdmin
- Resolved