[
https://issues.apache.org/jira/browse/HIVE-5928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13873855#comment-13873855
]
Thejas M Nair commented on HIVE-5928:
-------------------------------------
[~brocknoland] Please let me know if the updated patch looks good.
> Add a hive authorization plugin api that does not assume privileges needed
> --------------------------------------------------------------------------
>
> Key: HIVE-5928
> URL: https://issues.apache.org/jira/browse/HIVE-5928
> Project: Hive
> Issue Type: Sub-task
> Components: Authorization
> Reporter: Thejas M Nair
> Assignee: Thejas M Nair
> Attachments: HIVE-5928.1.patch, HIVE-5928.2.patch,
> hive_auth_class_preview.txt
>
> Original Estimate: 120h
> Time Spent: 2h
> Remaining Estimate: 12h
>
> The existing HiveAuthorizationProvider interface implementations can be used
> to support custom authorization models.
> But this interface limits the customization for these reasons -
> 1. It has assumptions about the privileges required for an action.
> 2. It does have not functions that you can implement for having custom ways
> of doing the actions of access control statements.
> This jira proposes a new interface HiveAuthorizer that does not make
> assumptions of the privileges required for the actions. The authorize()
> functions will be equivalent of authorize(<operation type>, <input objects>,
> <output objects>). It will also have functions that will be called from the
> access control statements.
> The current HiveAuthorizationProvider will continue to be supported for
> backward compatibility.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)