Skip to content
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

Create a backend function to INSERT/DELETE users in usergroup #372

Open
robertandremitchell opened this issue Feb 13, 2025 — with Linear · 1 comment · May be fixed by #389
Open

Create a backend function to INSERT/DELETE users in usergroup #372

robertandremitchell opened this issue Feb 13, 2025 — with Linear · 1 comment · May be fixed by #389
Assignees

Comments

Copy link
Collaborator

Description:

The usergroup to users conjunction table is necessary to manage the users.id that are part of a particular user group.

The easiest way to do this will be to query the users table for all ids/names to display in the drawer with a boolean to indicate if they are part of a usergroup.

If they are checked, that user_id/usergroup_id combination should have a row inserted into the usergroup_to_users table.

If they are unchecked, that user_id/usergroup_id combination should have a row deleted from usergroup_to_users table, if it exists.

This should be done via a Save Changes buttn, to avoid doing multiple insert/delete states.

Acceptance Criteria:

Copy link

linear bot commented Feb 13, 2025

@robertandremitchell robertandremitchell self-assigned this Feb 20, 2025
@robertandremitchell robertandremitchell linked a pull request Feb 21, 2025 that will close this issue
4 tasks
@robertandremitchell robertandremitchell linked a pull request Feb 21, 2025 that will close this issue
4 tasks
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 a pull request may close this issue.

1 participant