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] [Commented] (SENTRY-992) Component is not filtering anything in APIv2
Date Fri, 04 Mar 2016 22:55:40 GMT

    [ 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)

Mime
View raw message