[
https://issues.apache.org/jira/browse/HIVE-6250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thejas M Nair updated HIVE-6250:
--------------------------------
Description:
This patch adds more tests for table and view authorization and also fixes a
number of issues found during testing -
- View authorization should happen on only on the view, and not the underlying
table (Change in ReadEntity to indicate if it is a direct/indirect dependency)
- table owner in metadata should be the user as per SessionState authentication
provider
- added utility function for finding the session state authentication provider
user
- authorization should be based on current roles
- admin user should have all permissions
- error message improvements
was:
Follow up task of HIVE-6181.
The grant revoke statement should change the entries in metastore.
> sql std auth - view authorization should not underlying table. More tests and
> fixes.
> ------------------------------------------------------------------------------------
>
> Key: HIVE-6250
> URL: https://issues.apache.org/jira/browse/HIVE-6250
> Project: Hive
> Issue Type: Sub-task
> Components: Authorization
> Reporter: Thejas M Nair
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> This patch adds more tests for table and view authorization and also fixes a
> number of issues found during testing -
> - View authorization should happen on only on the view, and not the
> underlying table (Change in ReadEntity to indicate if it is a direct/indirect
> dependency)
> - table owner in metadata should be the user as per SessionState
> authentication provider
> - added utility function for finding the session state authentication
> provider user
> - authorization should be based on current roles
> - admin user should have all permissions
> - error message improvements
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)