sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Rigaux (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SENTRY-1000) list_sentry_privileges_by_role in API v2 does not return any privileges
Date Thu, 07 Jan 2016 01:54:39 GMT
Romain Rigaux created SENTRY-1000:
-------------------------------------

             Summary: list_sentry_privileges_by_role in API v2 does not return any privileges
                 Key: SENTRY-1000
                 URL: https://issues.apache.org/jira/browse/SENTRY-1000
             Project: Sentry
          Issue Type: Bug
            Reporter: Romain Rigaux




V2
Thrift call: <class 'sentry_generic_policy_service.SentryGenericPolicyService.Client'>.list_sentry_privileges_by_role(args=(TListSentryPrivilegesRequest(component=u'hive',
requestorUserName=u'romain', serviceName=u'server1', roleName=u'test', protocol_version=2,
authorizables=None),), kwargs={})

Thrift call <class 'sentry_generic_policy_service.SentryGenericPolicyService.Client'>.list_sentry_privileges_by_role
returned in 7ms: TListSentryPrivilegesResponse(status=TSentryResponseStatus(message='', stack=None,
value=0), privileges=set([]))


V1
Thrift call: <class 'sentry_policy_service.SentryPolicyService.Client'>.list_sentry_privileges_by_role(args=(TListSentryPrivilegesRequest(authorizableHierarchy=None,
protocol_version=2, roleName=u'test', requestorUserName=u'romain'),), kwargs={})

Thrift call <class 'sentry_policy_service.SentryPolicyService.Client'>.list_sentry_privileges_by_role
returned in 5ms: TListSentryPrivilegesResponse(status=TSentryResponseStatus(message='', stack=None,
value=0), privileges=set([TSentryPrivilege(grantOption=0, serverName='server1', tableName='',
privilegeScope='DATABASE', createTime=1452130867207, URI='', columnName='', action='insert',
dbName='default')]))




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message