[ 
https://issues.apache.org/jira/browse/SENTRY-2170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16420922#comment-16420922
 ] 

kalyan kumar kalvagadda commented on SENTRY-2170:
-------------------------------------------------

[~LinaAtAustin] it's not for future purpose. we need it currently.

we handle rename bit differently when there isa privilege that is renamed, 
TPrivilegeChanges is updated differently.
# authzObj will be initialized with a constant string "__RENAME_PRIV__"
# addPrivileges will have (newAuthz, newAuthz)
# delPrivileges will have (oldAuthz, oldAuthz)

This can be done in a better way. I will update this in different commit.

*In short to your question, we need that to handle renaming of privileges.*



> update the thrift interface between sentry server and HDFS sentry client
> ------------------------------------------------------------------------
>
>                 Key: SENTRY-2170
>                 URL: https://issues.apache.org/jira/browse/SENTRY-2170
>             Project: Sentry
>          Issue Type: Sub-task
>          Components: Sentry
>    Affects Versions: 2.1.0
>            Reporter: kalyan kumar kalvagadda
>            Assignee: kalyan kumar kalvagadda
>            Priority: Major
>         Attachments: SENTRY-2170.001.patch
>
>
> Thrift interface between sentry server and hdfs sentry client should be 
> updated to send the send user privileges as well.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to