[ 
https://issues.apache.org/jira/browse/SENTRY-2051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Na Li reassigned SENTRY-2051:
-----------------------------

    Assignee:     (was: Na Li)

> Catch SentryGroupNotFoundException in thrift server handler
> -----------------------------------------------------------
>
>                 Key: SENTRY-2051
>                 URL: https://issues.apache.org/jira/browse/SENTRY-2051
>             Project: Sentry
>          Issue Type: Bug
>          Components: Sentry
>    Affects Versions: 2.0.0
>            Reporter: Na Li
>
> SENTRY-769 changes the behavior when there is no group associated with a 
> user. Before, the GroupMappingService implementation returns empty set. Now, 
> SentryGroupNotFoundException is thrown to stop further processing.
> This causes problem for client that does not expect exception in this 
> scenario. 
> The solution is to catch such exception at sentry server before returning 
> response to client. So it does not change API behavior while still keeping 
> the benefit of SENTRY-769 with better error handling.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to