You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "kalyan kumar kalvagadda (JIRA)" <ji...@apache.org> on 2018/03/30 16:40:00 UTC
[jira] [Comment Edited] (SENTRY-2170) update the thrift interface
between sentry server and HDFS sentry client
[ https://issues.apache.org/jira/browse/SENTRY-2170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16391360#comment-16391360 ]
kalyan kumar kalvagadda edited comment on SENTRY-2170 at 3/30/18 4:39 PM:
--------------------------------------------------------------------------
This include making changes to TPrivilegeChanges class.
Here is the an initial thought on changes to TPrivilegeChanges.
{noformat}
enum TPrivilegeEntityType {
ROLE,
USER,
OBJECT
}
struct TPrivilegeEntity {
# Type of the privilege entity
1: required TPrivilegeEntityType type;
# Value of entity
2: required string value;
}
struct TPrivilegeChanges {
# The authorizable object that needs to be updated.
1: required string authzObj;
# The privileges that needs to be added to
# the authorizable object.
2: required map<{color:#14892c}TPrivilegeEntity{color}, string> addPrivileges;
# The privileges that needs to be deleted to
# the authorizable object.
3: required map<{color:#14892c}TPrivilegeEntity{color}, string> delPrivileges;
}
{noformat}
was (Author: kkalyan):
This include making changes to TPrivilegeChanges class.
Here is the an initial thought on changes to TPrivilegeChanges.
{noformat}
# # The user privileges that needs to be added to
# # the authorizable object.
4: required map<string, string> addUserPrivileges;
# The user privileges that needs to be deleted to
# the authorizable object.
5: required map<string, string> delUserPrivileges;
{noformat}
> 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)