Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
2.0.0
-
None
-
None
Description
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.
Attachments
Issue Links
- duplicates
-
SENTRY-2091 User-based Privilege is broken by SENTRY-769
- Patch Available
- is duplicated by
-
SENTRY-2085 Sentry error handling exposes SentryGroupNotFoundException externally
- Resolved