[
https://issues.apache.org/jira/browse/HBASE-22015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16787653#comment-16787653
]
Duo Zhang commented on HBASE-22015:
-----------------------------------
+1 on make it IA.Public. The class itself is immutable so should be fine.
> 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)