feat: Add default group assignment for new users#94
Merged
Classic298 merged 18 commits intodefault-group-assignmentfrom Nov 20, 2025
Merged
Conversation
This feature allows administrators to configure a default group that new users are automatically added to upon registration. - Adds a 'Default Group' dropdown in the admin settings. - Updates the user creation logic to assign the selected default group. - Includes necessary backend API and database model changes.
Updated the default group assignment feature to work with the new group_member table and updated API endpoints introduced in the recent alembic migration (37f288994c47). Changes: - Updated Groups.add_user_to_group_by_id() call to use Groups.add_users_to_group() - Removed obsolete add_user_to_group_by_id() method that used deprecated user_ids column - Feature now properly integrates with the new GroupMember table structure - Frontend (General.svelte) requires no changes as it only uses group.id and group.name This ensures new users are correctly added to the default group during signup using the proper group members relationship table.
Classic298
added a commit
that referenced
this pull request
Nov 24, 2025
) Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com> Co-authored-by: Claude <[email protected]>
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.
No description provided.