You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Na Li (JIRA)" <ji...@apache.org> on 2018/09/13 18:10:00 UTC

[jira] [Updated] (SENTRY-226) Allow adding role:groups/ role:privileges mapping in one RPC

     [ https://issues.apache.org/jira/browse/SENTRY-226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Na Li updated SENTRY-226:
-------------------------
    Fix Version/s:     (was: 2.1.0)

> Allow adding role:groups/ role:privileges mapping in one RPC
> ------------------------------------------------------------
>
>                 Key: SENTRY-226
>                 URL: https://issues.apache.org/jira/browse/SENTRY-226
>             Project: Sentry
>          Issue Type: Improvement
>    Affects Versions: 1.4.0
>            Reporter: Sravya Tirukkovalur
>            Priority: Major
>
> For role:groups:
> Currently although we support this at RPC level: 
> alter_sentry_role_add_groups(requestorUserName,requestorGroupNames, roleName,groups)
> We do not support this at the SentryServiceClient level:
> public void grantRoleToGroup(String requestorUserName, Set<String> requestorUserGroupName,
>       String groupName, String roleName)
> For role:privileges:
> Currently we do not support this at the RPC level:
> struct TAlterSentryRoleGrantPrivilegeRequest {
> 1: required i32 protocol_version = sentry_common_service.TSENTRY_SERVICE_V1,
> 2: required string requestorUserName, # user on whose behalf the request is issued
> 3: required set<string> requestorGroupNames # groups the requesting user belongs to
> 4: required string roleName,
> 5: required TSentryPrivilege privilege
> }



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