-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Implement project invitation system #3187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement project invitation system #3187
Conversation
Co-authored-by: denguk <[email protected]>
Cursor Agent can help with this pull request. Just |
Co-authored-by: denguk <[email protected]>
:project-id="projectId" | ||
:item-id="itemId" | ||
:invites-enabled="systemInfo.teams.invites_enabled" | ||
:invite-type="systemInfo.teams.invite_type" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: Uninitialized Teams Pointer Causes Frontend Errors
The Teams
field in the ConfigType
struct is an uninitialized pointer, causing Config.Teams
to be nil
. When this configuration is sent to the frontend, systemInfo.teams
becomes undefined
. This leads to JavaScript runtime errors in Vue components (e.g., Invites.vue
, Team.vue
) that attempt to access properties like systemInfo.teams.invites_enabled
without null checks.
Adds a comprehensive project invitation system to allow project managers to invite users (existing or by email) to projects with specific roles.