[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=16391360#comment-16391360 ] kalyan kumar kalvagadda edited comment on SENTRY-2170 at 3/30/18 4:41 PM: -- This include making changes to TPrivilegeChanges class. enum TPrivilegeEntityType { ROLE, USER, OBJECT } New Definations {noformat} struct TPrivilegeEntity { # Type of the privilege entity 1: required TPrivilegeEntityType type; # Value of entity 2: required string value; } {noformat} Here is the an initial thought on changes to TPrivilegeChanges. 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; } was (Author: kkalyan): 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} > 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)
[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=16391360#comment-16391360 ] kalyan kumar kalvagadda edited comment on SENTRY-2170 at 3/30/18 4:41 PM: -- This include making changes to TPrivilegeChanges class. enum TPrivilegeEntityType { ROLE, USER, OBJECT } *New Definitions* {noformat} struct TPrivilegeEntity { # Type of the privilege entity 1: required TPrivilegeEntityType type; # Value of entity 2: required string value; } {noformat} Here is the an initial thought on changes to TPrivilegeChanges. 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; } was (Author: kkalyan): This include making changes to TPrivilegeChanges class. enum TPrivilegeEntityType { ROLE, USER, OBJECT } New Definations {noformat} struct TPrivilegeEntity { # Type of the privilege entity 1: required TPrivilegeEntityType type; # Value of entity 2: required string value; } {noformat} Here is the an initial thought on changes to TPrivilegeChanges. 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; } > 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)
[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=16391360#comment-16391360 ] kalyan kumar kalvagadda edited comment on SENTRY-2170 at 3/30/18 4:41 PM: -- This include making changes to TPrivilegeChanges class. enum TPrivilegeEntityType { ROLE, USER, OBJECT } *New Definitions* {noformat} struct TPrivilegeEntity { # Type of the privilege entity 1: required TPrivilegeEntityType type; # Value of entity 2: required string value; } {noformat} *Here is the an initial thought on changes to TPrivilegeChanges.* 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; } was (Author: kkalyan): This include making changes to TPrivilegeChanges class. enum TPrivilegeEntityType { ROLE, USER, OBJECT } *New Definitions* {noformat} struct TPrivilegeEntity { # Type of the privilege entity 1: required TPrivilegeEntityType type; # Value of entity 2: required string value; } {noformat} Here is the an initial thought on changes to TPrivilegeChanges. 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; } > 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)
[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=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 mapaddUserPrivileges; # The user privileges that needs to be deleted to # the authorizable object. 5: required map 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)