hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laxman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-6238) Grant on Meta Table is not taking affect.
Date Tue, 19 Jun 2012 11:04:42 GMT

    [ https://issues.apache.org/jira/browse/HBASE-6238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396678#comment-13396678
] 

Laxman commented on HBASE-6238:
-------------------------------

Seems to be problem following code snippet in AccessControlLists.getTablePermissions(Configuration,
byte[])

{noformat}
    /* TODO: -ROOT- and .META. cannot easily be handled because they must be
     * online before _acl_ table.  Can anything be done here?
     */
    if (Bytes.equals(tableName, HConstants.ROOT_TABLE_NAME) ||
        Bytes.equals(tableName, HConstants.META_TABLE_NAME)) {
      return ArrayListMultimap.create(0,0);
    }
{noformat}

I don't see a scenario why special handling ROOT & META tables are required.

Can this snippet be removed or you see any problem?
                
> Grant on Meta Table is not taking affect.
> -----------------------------------------
>
>                 Key: HBASE-6238
>                 URL: https://issues.apache.org/jira/browse/HBASE-6238
>             Project: HBase
>          Issue Type: Sub-task
>          Components: security
>    Affects Versions: 0.94.0, 0.96.0, 0.94.1
>            Reporter: Laxman
>            Assignee: Laxman
>              Labels: acl, security
>
> User is not able to perform authorized operations on Meta.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message