[ 
https://issues.apache.org/jira/browse/HBASE-12511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Enis Soztutar updated HBASE-12511:
----------------------------------
    Attachment: hbase-12511_v6.patch

Here is the v6 patch. I've renamed one of the requireGlobalPermission() methods 
to be requireGlobalOrNamespacePermission(). 

Now we have to methods: 
{code}
requireGlobalPermission() => Requires global permission ONLY
requireGlobalOrNamespacePermission() => Required global or NS permissions.
{code}

deleteNamespace,modifyNamespace,grant on NS, revoke on NS, 
getNamespaceDescriptor uses requireGlobalOrNamespacePermission() to implement 
{{superuser | global(A) | NS(A)}}

> 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
>             Fix For: 1.1.0
>
>         Attachments: HBASE-12511.patch, HBASE-12511.patch, HBASE-12511.patch, 
> HBASE-12511.patch, hbase-12511_v5.patch, hbase-12511_v6.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