hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas Nair" <the...@hortonworks.com>
Subject Re: Review Request 19979: sql std auth - database authorization does not check for role ownership
Date Thu, 03 Apr 2014 01:30:04 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19979/
-----------------------------------------------------------

(Updated April 3, 2014, 1:30 a.m.)


Review request for hive and Ashutosh Chauhan.


Bugs: HIVE-6823
    https://issues.apache.org/jira/browse/HIVE-6823


Repository: hive-git


Description
-------

A role can own the database, but when the authorization checks are determining the privileges
for a user, they are not checking if one of the roles the user belongs to is an owner of the
database.


Diffs
-----

  ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/sqlstd/SQLAuthorizationUtils.java
95da54a 
  ql/src/test/queries/clientpositive/authorization_owner_actions_db.q PRE-CREATION 
  ql/src/test/results/clientpositive/authorization_owner_actions_db.q.out PRE-CREATION 

Diff: https://reviews.apache.org/r/19979/diff/


Testing
-------

new tests included.


Thanks,

Thejas Nair


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message