Update dependencies and implement workspace member invitation features#183
Merged
Conversation
…ember invitations
opeolluwa
reviewed
Jun 16, 2026
opeolluwa
reviewed
Jun 16, 2026
opeolluwa
reviewed
Jun 16, 2026
opeolluwa
reviewed
Jun 16, 2026
…ifier' and pass request data by reference
… and implement InvitationRepositoryTrait for better dependency management
Boluwatife-AJB
marked this pull request as ready for review
June 17, 2026 13:14
opeolluwa
reviewed
Jun 19, 2026
| enum Invitation { | ||
| Table, | ||
| Identifier, | ||
| WorkspaceId, |
Owner
There was a problem hiding this comment.
Well done! @Boluwatife-AJB, this is still WorkspaceId,
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.
This pull request introduces a new invitation system for workspaces, allowing users to invite others via email. The changes span database schema, backend entities, API endpoints, and supporting services and repositories. The main focus is on creating, storing, and managing workspace invitations, including schema migration, API handling, and business logic.
Invitation feature implementation:
m20260614_212029_create_invitation_table) to create theinvitationtable with fields for workspace ID, email, name, token, status, and timestamps. [1] [2] [3]invitationSeaORM entity (server/src/entities/invitation.rs) and updated entity module exports to include it. [1] [2] [3]InvitationRepositorywith methods to create invitations and check for existing ones by email and workspace. [1] [2]API and service layer:
InvitationServiceto handle invitation logic, including duplicate checks and token generation. [1] [2] [3]invite_workspace_member) and route (/workspaces/{workspace_id}/invitations) for inviting workspace members, and integrated these into the main router and state. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]Supporting and dependency changes:
invitationtable and ensure proper random token generation. [1] [2]These changes collectively enable a robust invitation workflow for workspace collaboration.
This closes #172