Skip to content

feat(members): invite new teammates directly as Owner - #847

Merged
kipavy merged 1 commit into
devfrom
feat/778-invite-as-owner
Nov 11, 2026
Merged

kipavy merged 1 commit into
devfrom
feat/778-invite-as-owner

Conversation

@kipavy

@kipavy kipavy commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

Closes #778. Server side: VoltiusApp/server#134.

  • Owner is offered in both invite surfaces (Members invite panel, vault share sheet) when /v1/meta reports multi_owner.
  • Non-Owners see the Owner chip greyed out with "Only Owners can invite someone as Owner". The server already refuses Owner from anyone else.
  • Owner is exclusive with other roles. Every Owner invite asks for confirmation first, stating that the primary owner and billing do not change.
  • Join links and enrolment tokens still never offer Owner (assignableRoles keeps Owner out unless withOwner).
  • The invitee's prompt shows the translated role and its blurb. A 410 on accept (sender no longer entitled, server#134) reads "This invitation is no longer valid. Ask the team to send you a new one."
  • OwnershipConfirm and isOwnerRole are shared; four inline copies removed (member detail confirm, two Members page filters, enrolment chips).
  • Strings in cs, en, fr, pt, pt-PT, ru, tr, zh.

Tests: new cases in MembersPage.InvitePanel.test.tsx, InviteControl.test.tsx, vaultShareModel.test.ts; members, vault-share, layout, hooks, services and i18n suites green; tsc clean.

Owners can pick the Owner role in both invite surfaces (Members invite
panel and the vault share sheet) when the server supports multiple
owners. Other inviters see the Owner chip greyed out with the reason.
Owner is exclusive with other roles and every Owner invite asks for
confirmation first, noting that the primary owner and billing do not
change. Join links and enrolment tokens still never offer Owner.

The invitee's prompt shows the translated role and its blurb, and an
invitation the server now rejects with 410 (sender no longer entitled)
explains that the team must send a new one.

The ownership confirmation and the owner-role check are shared instead
of copied per surface.

Closes #778
@kipavy kipavy closed this Nov 11, 2026
@kipavy kipavy reopened this Nov 11, 2026
@kipavy
kipavy merged commit 6d387c5 into dev Nov 11, 2026
5 checks passed
@kipavy
kipavy deleted the feat/778-invite-as-owner branch November 11, 2026 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant