[ 
https://issues.apache.org/jira/browse/SENTRY-992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15180699#comment-15180699
 ] 

Sravya Tirukkovalur commented on SENTRY-992:
--------------------------------------------

Thinking more about it, I see why we might need a way to filter based on 
component: It would be of little use for a component to get roles which do not 
correspond to any privileges in that component.

> Component is not filtering anything in APIv2
> --------------------------------------------
>
>                 Key: SENTRY-992
>                 URL: https://issues.apache.org/jira/browse/SENTRY-992
>             Project: Sentry
>          Issue Type: Bug
>            Reporter: Romain Rigaux
>            Assignee: Hao Hao
>
> e.g.
> TListSentryRolesRequest(protocol_version=2, component=u'hive', 
> groupName=None, requestorUserName=u'romain')
> TListSentryRolesRequest(protocol_version=2, component=u'solr', 
> groupName=None, requestorUserName=u'romain')
> Same result:
> TListSentryRolesResponse(status=TSentryResponseStatus(message='', stack=None, 
> value=0), roles=set([TSentryRole(roleName='role1', groups=set([]))]))



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

Reply via email to