Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-11043

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • 0.99.0
    • None
    • security
    • 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

        1. HBASE-11043-trunk-v1.diff
          4 kB
          Shaohui Liu

        Issue Links

          Activity

            People

              Unassigned Unassigned
              liushaohui Shaohui Liu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: