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

Review request for sentry.


Bugs: SENTRY-305
    https://issues.apache.org/jira/browse/SENTRY-305


Repository: sentry


Description
-------

Allow 'show current role' without admin privilege. The admin auth check is 
relaxed if you want to list the roles for the requesting user. This is 
requested when executing show current role.


Diffs
-----

  
sentry-binding/sentry-binding-hive/src/main/java/org/apache/hadoop/hive/ql/exec/SentryGrantRevokeTask.java
 122d137 
  
sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/service/persistent/SentryStore.java
 91669d6 
  
sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/service/thrift/SentryPolicyServiceClient.java
 9e2c200 
  
sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/service/thrift/SentryPolicyStoreProcessor.java
 097056b 
  
sentry-provider/sentry-provider-db/src/test/java/org/apache/sentry/provider/db/service/persistent/TestSentryStore.java
 35ba83a 
  
sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/dbprovider/TestDatabaseProvider.java
 6187692 

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


Testing
-------

Added new unit test and e2e test


Thanks,

Prasad Mujumdar

Reply via email to