hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashu Pachauri (JIRA)" <>
Subject [jira] [Commented] (HIVE-6250) sql std auth - view authorization should not underlying table. More tests and fixes.
Date Fri, 22 Aug 2014 00:26:11 GMT


Ashu Pachauri commented on HIVE-6250:

Oh, I think I should have been more clear in my comment. We have Hive 0.13.1 deployment that
we upgraded from Hive 0.12 (used Hive upgrade script). A user creates a table and then tries
to delete the table, the operation fails with error "No Drop Privileges found" . 
The user can grant the privileges to himself explicitly, and then it works. 
I am not sure if this is the change, or it is a problem in the upgrade. I just inferred it
from the code changes I saw in this change.

> sql std auth - view authorization should not underlying table. More tests and fixes.
> ------------------------------------------------------------------------------------
>                 Key: HIVE-6250
>                 URL:
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Authorization
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>             Fix For: 0.13.0
>         Attachments: HIVE-6250.1.patch, HIVE-6250.2.patch
>   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

View raw message