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

Duo Zhang commented on HBASE-22015:
-----------------------------------

{quote}
And Table/Namespace/GlobalPermission should be IA.public, too?
{quote}

We can change them on demand?

> UserPermission should be annotated as InterfaceAudience.Public
> --------------------------------------------------------------
>
>                 Key: HBASE-22015
>                 URL: https://issues.apache.org/jira/browse/HBASE-22015
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Yi Mei
>            Priority: Major
>
> HBASE-11318 mark UserPermission as InterfaceAudience.Private.
> HBASE-11452 instroduce AccessControlClient#getUserPermissions and return 
> UserPermission list but the UserPermission class is Private.
> I also encounter the same problem when I want to move getUserPermissions 
> method as a admin api in HBASE-21911, otherwise the api of getUserPermissions 
> may be 
> {code:java}
> Map<String, List<Permission>> getUserPermissions{code}
> So shall we mark the UserPermission as Public? discussions are welcomed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to