[
https://issues.apache.org/jira/browse/HBASE-12511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14236955#comment-14236955
]
Huaiyu Zhu commented on HBASE-12511:
------------------------------------
Sorry, I didn't notice this line is a fix for NS 'create'. IMO, it is a little
bit confusing to have NS checked in requireGlobalPermission method. A user has
NS level privileges should not pass global permission check without actual
global privileges.
[~ashish singhi] which requirePermission API did you suggest?
You're right, it is a good idea to put unit test in TestNamespaceCommands.
> 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
>
>
> 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)