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

Guanghao Zhang commented on HBASE-22015:
----------------------------------------

The UserPermission is IA.private now. So HBASE-21974 changed it to user and 
Permission as the parameter. And it was included in 2.2.0.

> 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