Details
Description
Still some inconsistency exists after HBASE-6061. We actually need to authorize against table permissions instead of global permissions here.
+ private void requireTableAdminPermission(MasterCoprocessorEnvironment e, + byte[] tableName) throws IOException { + if (isActiveUserTableOwner(e, tableName)) { + requirePermission(Permission.Action.CREATE); + } else { + requirePermission(Permission.Action.ADMIN); + } + }
Attachments
Issue Links
- duplicates
-
HBASE-5372 Table mutation operations should check table level rights, not global rights
- Closed
- relates to
-
HBASE-6068 Secure HBase cluster : Client not able to call some admin APIs
- Closed