hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-5371) Introduce AccessControllerProtocol.checkPermissions(Permission[] permissons) API
Date Fri, 17 Feb 2012 23:25:59 GMT

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

stack commented on HBASE-5371:
------------------------------

bq. What about re-changing the version to 1, since we just added a new method, but not changed
anything on the wire, it should be compatible. The only catch is that if you invoke the new
API from a new client, but the server is using the old version, you would get a NoSuchMethod
or smt. Is that asking for too much, wdyt?

I think it a good idea.  Test an old client talking to a new w/o changing the version.  See
what happens.  If it works, lets get it into 0.92.
                
> Introduce AccessControllerProtocol.checkPermissions(Permission[] permissons) API
> --------------------------------------------------------------------------------
>
>                 Key: HBASE-5371
>                 URL: https://issues.apache.org/jira/browse/HBASE-5371
>             Project: HBase
>          Issue Type: Sub-task
>          Components: security
>    Affects Versions: 0.94.0, 0.92.1
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>             Fix For: 0.94.0
>
>         Attachments: HBASE-5371_v2.patch, HBASE-5371_v3-noprefix.patch, HBASE-5371_v3.patch
>
>
> We need to introduce something like AccessControllerProtocol.checkPermissions(Permission[]
permissions) API, so that clients can check access rights before carrying out the operations.
We need this kind of operation for HCATALOG-245, which introduces authorization providers
for hbase over hcat. We cannot use getUserPermissions() since it requires ADMIN permissions
on the global/table level.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message