Skip to content

Commit

Permalink
Update src/sentry/api/endpoints/organization_events.py
Browse files Browse the repository at this point in the history
Co-authored-by: William Mak <william@wmak.io>
  • Loading branch information
armenzg and wmak authored Jul 29, 2024
1 parent 6ce7642 commit 99fb7be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/sentry/api/endpoints/organization_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,9 @@ def get(self, request: Request, organization) -> Response:
snuba_params, params = self.get_snuba_dataclass(
request,
organization,
# This is only temporary until we come to a decision on global views
# checking for referrer for an allowlist is a brittle check since referrer
# can easily be set by the caller
check_global_views=(
referrer in GLOBAL_VIEW_WHITELIST
and not bool(organization.flags.allow_joinleave)
Expand Down

0 comments on commit 99fb7be

Please sign in to comment.