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

user_permission does not list the permissions from namespace the table belongs to

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.2.1
    • None
    • security
    • None

    Description

      Re-create:
      1. Get into hbase shell
      2. create_namespace 'ns1'
      3. grant 'u1', 'RWX', '@ns1'
      4. create 'ns1:t1', 'cf11'
      5. grant 'u2', 'RC', 'ns1:t1'
      6. user_permission 'ns1:t1'

      The output of user_permission only lists u2
      ---------------------------
      hbase(main):010:0* user_permission 'ns1:t1'
      User Namespace,Table,Family,Qualifier:Permission
      u2 ns1,ns1:t1,,: [Permission: actions=READ,CREATE]
      ---------------------------

      u1 should be listed because t1 belongs to ns1, and u1 has the permissions to access ns1

      Attachments

        Activity

          People

            Unassigned Unassigned
            xiangli Xiang Li
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: