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:34:40 GMT

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

Mime
View raw message