You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Sravya Tirukkovalur (JIRA)" <ji...@apache.org> on 2014/05/28 18:04:05 UTC

[jira] [Assigned] (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 ]

Sravya Tirukkovalur reassigned SENTRY-226:
------------------------------------------

    Assignee: Sravya Tirukkovalur

> 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: Bug
>    Affects Versions: 1.4.0
>            Reporter: Sravya Tirukkovalur
>            Assignee: Sravya Tirukkovalur
>             Fix For: 1.4.0
>
>
> 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
(v6.2#6252)