hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-5372) Table mutation operations should check table level rights, not global rights
Date Fri, 10 Feb 2012 07:57:59 GMT

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

Andrew Purtell commented on HBASE-5372:
---------------------------------------

bq. However, for this maybe we have to revisit table ownership rights. Currently, the table
owner has every right on the table, and this is not managed through the normal grant/revoke
operations, but on the table metadata. We may want to remove table ownership, but introduce
default table creation rights, which means that when a user creates a table, she automatically
get those rights allocated. But another user can grant extra rights, or revoke them. 

Sure, makes sense. We opted for simplicity in the initial implementation.
                
> Table mutation operations should check table level rights, not global rights 
> -----------------------------------------------------------------------------
>
>                 Key: HBASE-5372
>                 URL: https://issues.apache.org/jira/browse/HBASE-5372
>             Project: HBase
>          Issue Type: Sub-task
>          Components: security
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>
> getUserPermissions(tableName)/grant/revoke and drop/modify table operations should not
check for global CREATE/ADMIN rights, but table CREATE/ADMIN rights. The reasoning is that
if a user is able to admin or read from a table, she should be able to read the table's permissions.
We can choose whether we want only READ or ADMIN permissions for getUserPermission(). Since
we check for global permissions first for table permissions, configuring table access using
global permissions will continue to work. 

--
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