You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Colin Ma (JIRA)" <ji...@apache.org> on 2016/06/02 01:33:59 UTC

[jira] [Commented] (SENTRY-1307) Generic Model checks for valid actions, but not authorizables

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

Colin Ma commented on SENTRY-1307:
----------------------------------

I think it's a feature gap, and SENTRY-1204 is responsible for validating the authorizable.

> Generic Model checks for valid actions, but not authorizables
> -------------------------------------------------------------
>
>                 Key: SENTRY-1307
>                 URL: https://issues.apache.org/jira/browse/SENTRY-1307
>             Project: Sentry
>          Issue Type: Bug
>          Components: Service
>    Affects Versions: 1.8.0
>            Reporter: Gregory Chanan
>         Attachments: SENTRY-1307.patch
>
>
> See the attached patch, which demonstrates that a bogus authorizable will be processed and stored by the generic service backend.  But changing the action to say "bogusAction" results in a RuntimeException being thrown.  I can't see a logical reason why this is the case.



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