Skip to content

Add ability to skip site members and invitations during transfer#6184

Open
zoldar wants to merge 11 commits intomasterfrom
transfer-site-without-members
Open

Add ability to skip site members and invitations during transfer#6184
zoldar wants to merge 11 commits intomasterfrom
transfer-site-without-members

Conversation

@zoldar
Copy link
Contributor

@zoldar zoldar commented Mar 23, 2026

Changes

This PR adds an option to accept site transfer without transferring any associated guest memberships and invitations. The option is suggested only if accepting user's plan cannot accommodate additional team members from the transferred site. The main purpose of this feature is to ease transferring the sites in cases where the site is carried over to somebody on a single-member starter plan.

image image

Following refactorings were done along the way:

  • Billing.Quota.ensure_within_plan_limits accept skip_* options in a consistent format for all limits (as all of them are used in various contexts.
  • Invitations.accept_transfer_ownership was refactored to reduce complexity and improve clarity of the logic, especially with added branching

Tests

  • Automated tests have been added

Documentation

  • Docs have been updated
  • This change does not need a documentation update

Dark mode

  • The UI has been tested both in dark and light mode

@zoldar zoldar requested a review from a team March 23, 2026 16:10
@zoldar zoldar marked this pull request as ready for review March 23, 2026 16:10
@zoldar zoldar added the preview label Mar 23, 2026
@github-actions
Copy link

Preview environment👷🏼‍♀️🏗️
PR-6184

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants