[
https://issues.apache.org/jira/browse/HBASE-22015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16787680#comment-16787680
]
Duo Zhang commented on HBASE-22015:
-----------------------------------
So I mean we could revert HBASE-21974 and then mark UserPermission as
IA.Public? The data structure is simple and immutable.
> 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)