You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Sravya Tirukkovalur (JIRA)" <ji...@apache.org> on 2016/03/04 23:34:40 UTC

[jira] [Commented] (SENTRY-992) Component is not filtering anything in APIv2

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

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

In my opinion <Role, group> should be common across components, so the above behavior seems reasonable. May be we should not accept component in these apis (create/drop role, add/delete groups from role)?

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