Na Li created SENTRY-2051:
-----------------------------

             Summary: 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
            Assignee: 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