Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Not A Problem
-
0.99.0
-
None
-
None
Description
AccessController#preGetTableDescriptors only allow users with admin or create permission to get table's description.
requirePermission("getTableDescriptors", nameAsBytes, null, null,
Permission.Action.ADMIN, Permission.Action.CREATE);
I think Users with table's read/write permission should also be able to get table's description.
Eg: when create a hive table on HBase, hive will get the table description to check if the mapping is right. Usually the hive users only have the read permission of table.
Attachments
Attachments
Issue Links
- is related to
-
PHOENIX-946 Use Phoenix to service Hive queries over HBase data
- Open
-
HBASE-8692 [AccessController] Restrict HTableDescriptor enumeration
- Closed