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

Francis Liu commented on HBASE-12511:
-------------------------------------

Looks like those methods need to be refactored the same as preCreate(). Except 
for:

   * getUserPermissions - seems to have logic error when trying to check for 
namespace permission
   * preGetNamespaceDescriptor, postListNamespaceDescriptors - This should not 
require any privilege as mentioned in HBASE-8015
   * preDeleteNamespace, preModifyNamespace - requires global permission, 
namespace permission does not allow namespace DDL permission privilege as 
mentioned in HBASE-8015. 

[~enis] should we repuprpose this jira to address namespace 
refactoring/corrections here to reflect what was agreed upon in HBASE-8015?



> namespace permissions - add support from table creation privilege in a 
> namespace 'C'
> ------------------------------------------------------------------------------------
>
>                 Key: HBASE-12511
>                 URL: https://issues.apache.org/jira/browse/HBASE-12511
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Francis Liu
>            Assignee: Huaiyu Zhu
>         Attachments: HBASE-12511.patch, HBASE-12511.patch, HBASE-12511.patch
>
>
> As discussed in namespace permission Jira. A user granted a 'C' on a 
> namespace enables a user to create tables within the namespace. 'C' on a 
> namespace does not enable a user to create/drop the namespace.



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

Reply via email to