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

(Updated June 4, 2018, 4:09 p.m.)


Review request for sentry, kalyan kumar kalvagadda and Na Li.


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


Repository: sentry


Description (updated)
-------

This subtask will add new thrift API changes to allow Sentry clients to request 
user privileges from the Sentry server.

Functions added:
  TListSentryPrivilegesResponse 
list_sentry_privileges_by_user(1:TListSentryPrivilegesRequest request)
  
Structds modified:
  TListSentryPrivilegesResponse adds a new parameter to specify the entityName. 
It is not necessary to specify the entity type because this message
  will be used either by list_sentry_privileges_by_role or 
list_sentry_privileges_by_user
  
  TListSentryPrivilegesByAuthRequest adds a new parameter to specify the list 
of users to get privileges for.
  TListSentryPrivilegesByAuthResponse adds a new parameter to get the list of 
privileges of the specified users.


Diffs
-----

  
sentry-service/sentry-service-api/src/gen/thrift/gen-javabean/org/apache/sentry/api/service/thrift/SentryPolicyService.java
 cc9a682e21dec7db201caeb61c111265c23f7ae8 
  
sentry-service/sentry-service-api/src/gen/thrift/gen-javabean/org/apache/sentry/api/service/thrift/TListSentryPrivilegesByAuthRequest.java
 bcc359e7e3a300945a115b0df15faf307ef94fab 
  
sentry-service/sentry-service-api/src/gen/thrift/gen-javabean/org/apache/sentry/api/service/thrift/TListSentryPrivilegesByAuthResponse.java
 c0a7f1878f78142f85d57899d30238cc381e2b3f 
  
sentry-service/sentry-service-api/src/gen/thrift/gen-javabean/org/apache/sentry/api/service/thrift/TListSentryPrivilegesRequest.java
 4da184080ace2dc1a96b016b60e7c5dbf5dd2d76 
  
sentry-service/sentry-service-api/src/gen/thrift/gen-javabean/org/apache/sentry/api/service/thrift/TSentryMappingData.java
 4e69a0c04254ab3e9621e490c97240439172c900 
  
sentry-service/sentry-service-api/src/main/resources/sentry_policy_service.thrift
 679ab5694ab326692840c7d8fbad8532a7f4b396 
  
sentry-service/sentry-service-server/src/main/java/org/apache/sentry/api/service/thrift/SentryPolicyStoreProcessor.java
 71ea84f04da2789cf824f823c0a15a3d2a448f4b 


Diff: https://reviews.apache.org/r/67419/diff/3/


Testing
-------


Thanks,

Sergio Pena

Reply via email to