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

Add BE support for team management #1582

Merged
merged 9 commits into from Aug 25, 2023
Merged

Conversation

msamper
Copy link
Contributor

@msamper msamper commented Aug 15, 2023

Features and Changes

Creates a new team model, controller, and router to support future team management via the UI. I've also added an array of team ids to members within the organization collection.

New routes:

  • GET /teams

  • GET /teams/:id

  • POST /teams

  • PUT /teams/:id

  • DELETE /teams/:id

  • Team mongoose model

  • Team creation endpoint

  • Team read endpoints

  • Team update endpoint

  • Team deletion endpoint

  • Integrate teams into getUserPermissions (Blocked by Refactor permissions #1543)

Dependencies

Testing

Tested each of these new routes via Insomnia.

@github-actions
Copy link

github-actions bot commented Aug 15, 2023

Your preview environment pr-1582-bttf has been deployed.

Preview environment endpoints are available at:

@msamper msamper changed the title [WIP] Add BE support for team management Add BE support for team management Aug 18, 2023
@msamper msamper marked this pull request as ready for review August 18, 2023 18:05
@msamper msamper merged commit 81b6c8e into main Aug 25, 2023
3 checks passed
@msamper msamper deleted the msamper/add-team-support-backend branch August 25, 2023 17:48
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 this pull request may close these issues.

None yet

2 participants