Repository navigation
feat(members): invite new teammates directly as Owner - #847
Merged
Merged
Conversation
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
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.
Closes #778. Server side: VoltiusApp/server#134.
/v1/metareportsmulti_owner.assignableRoleskeeps Owner out unlesswithOwner).410on accept (sender no longer entitled, server#134) reads "This invitation is no longer valid. Ask the team to send you a new one."OwnershipConfirmandisOwnerRoleare shared; four inline copies removed (member detail confirm, two Members page filters, enrolment chips).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.