Repository navigation
app/: memberships follow the forge on sign-in (sc-8900) - #56
Merged
Merged
Conversation
VisualCIdocspring/visualci · build #315 · 331 unchanged · no changes This PR vs base: 2 changed since #194, across 5 builds Updated as builds change. Agents can review with VisualCI's MCP tools. |
ndbroadbent
force-pushed
the
laravel-data
branch
from
December 2, 2026 13:08
adafbce to
dc711c9
Compare
ndbroadbent
force-pushed
the
laravel-memberships
branch
from
December 2, 2026 13:13
58d3791 to
70047c9
Compare
ndbroadbent
force-pushed
the
laravel-data
branch
from
December 2, 2026 13:18
dd06bc8 to
719e859
Compare
ndbroadbent
force-pushed
the
laravel-memberships
branch
from
December 2, 2026 13:20
70047c9 to
77b727c
Compare
ndbroadbent
force-pushed
the
laravel-memberships
branch
from
December 2, 2026 13:57
77b727c to
a2de221
Compare
…ts access::after_sign_in and memberships::apply_forge (highest permission across an organization's linked repositories becomes the role; only the forge's own memberships change or go; another site's organizations stay); MembershipChanged for the member's notice
… URL on any other instance, as sign-in's identities now say (only gitlab.com's addresses are trusted), so VISUALCI_GITLAB_URL no longer decides it
…ver the URL (a renamed repository's old URL can be taken by someone else's new one), and a link without an ID grants nothing until it's backfilled; only repositories the forge lists as explicitly accessible grant anything (never a public repository's read for everyone); apply runs in one transaction with the person's memberships locked, and the notices go after the commit; tested
… and dependencies merged
ndbroadbent
force-pushed
the
laravel-memberships
branch
from
December 2, 2026 15:54
5135975 to
492cb50
Compare
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.
Stacked on #54 (the data baseline). It ports today's
access::after_sign_inandmemberships::apply_forgeas a listener for sign-in'sSignedInevent.sourcegithub or gitlab) change or go. One from an invitation, made at sign-up or added by staff stays as it is.MembershipChanged { organization_id, user_id, role }fires for each change, for the member's notice (the emails port).Test (
app/tests/memberships.rs): the highest permission wins, an invited membership stays, and a later sign-in changes or removes only the forge's memberships. All app tests pass, and clippy is clean.