HBase
  1. HBase
  2. HBASE-11043

Users with table's read/write permission can't get table's description

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Not A Problem
    • Affects Version/s: 0.99.0
    • Fix Version/s: None
    • Component/s: security
    • Labels:
      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.

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Liu Shaohui
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development