hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "li xiang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-15877) user_permission does not list the permissions from namespace the table belongs to
Date Mon, 23 May 2016 03:39:13 GMT
li xiang created HBASE-15877:
--------------------------------

             Summary: user_permission does not list the permissions from namespace the table
belongs to
                 Key: HBASE-15877
                 URL: https://issues.apache.org/jira/browse/HBASE-15877
             Project: HBase
          Issue Type: Bug
          Components: security
    Affects Versions: 1.2.1
            Reporter: li xiang
            Priority: Minor


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
{code}
hbase(main):010:0* user_permission 'ns1:t1'
User                          Namespace,Table,Family,Qualifier:Permission                
                       
 u2                           ns1,ns1:t1,,: [Permission: actions=READ,CREATE]            
                                  
...
(code}

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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message