[ https://issues.apache.org/jira/browse/SENTRY-992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15180751#comment-15180751 ]
Sravya Tirukkovalur commented on SENTRY-992: -------------------------------------------- But it makes sense for the client to filter the component if needed. I would suggest cleaning up the API to not accept a component, so that it is clear. > 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)