sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sravya Tirukkovalur (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SENTRY-226) Allow adding role:groups/ role:privileges mapping in one RPC
Date Thu, 22 May 2014 19:03:03 GMT
Sravya Tirukkovalur created SENTRY-226:
------------------------------------------

             Summary: 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
             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)

Mime
View raw message