[
https://issues.apache.org/jira/browse/HBASE-22015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16789533#comment-16789533
]
Duo Zhang commented on HBASE-22015:
-----------------------------------
Ping [~zghaobac] I think we should include this in 2.2.0 otherwise we will leak
the modified grant/revoke methods to user?
> 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
> Assignee: Yi Mei
> Priority: Blocker
> Fix For: 3.0.0, 2.2.0, 2.3.0
>
> Attachments: HBASE-22015.master.001.patch
>
>
> 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)