Conversation
This was referenced Sep 17, 2026
shashjar
force-pushed
the
shashjar/iswf-3361-lightweight-access
branch
from
September 17, 2026 22:23
66dffbb to
1eb9129
Compare
Fetch project and team IDs lazily for RPC-backed global access, allowing permission contexts to omit full resource collections. Preserve active-resource filtering and request-local caching. Refs ISWF-3361
shashjar
force-pushed
the
shashjar/iswf-3361-lightweight-access
branch
from
September 17, 2026 23:02
1eb9129 to
ecc1d43
Compare
shashjar
force-pushed
the
shashjar/iswf-3361-active-resource-ids
branch
from
September 17, 2026 23:02
0a3d8bd to
ce90fbd
Compare
Contributor
Sentry Snapshot Testing
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Access checks now request organization/member context without hydrating every project and team, including the demo-permission override. Privileged RPC-backed access resolves active project and team IDs independently, on first use, and caches each set for that access object. This removes the full model serialization identified in ISWF-3361 while preserving project visibility and the distinction between access and membership.
Deploy the ID RPCs from PR 1 to every cell before this consumer. The general organization-service hydration defaults remain available for callers that need full objects; PR 4 separately changes control endpoint defaults after the getsentry broadcast compatibility change.
Regression coverage checks ordinary membership, superusers, organization tokens, Sentry Apps, inactive and foreign resources, lazy lookup behavior, and endpoint authorization across silo modes. Lookup errors propagate rather than producing permissive access.
Part 2 of 4 for ISWF-3361. Review/deploy order: 1: ID RPCs → 2: access checks → 3: broadcasts → 4: control defaults.