generated from hackforla/.github-hackforla-base-repo-template
-
-
Notifications
You must be signed in to change notification settings - Fork 97
Closed
Labels
complexity: mediumfeature: Databaserole: Back Endsize: 2ptCan be done in 7-12 hoursCan be done in 7-12 hours
Milestone
Description
Overview
Create functions that will only update the managedBy type fields of the user and project so that when the call to one of those controllers happens it can update the corresponding document for either user or project
Action Items
- in
backend/controllers/user.controller.jsadd a function that updates only the fieldmanagedProjects- This is to be called from the
project.controller.jsfile
- This is to be called from the
- in
backend/controllers/project.controller.jsadd a function that updates only the fieldmanagedByUsers- This is to be called from the
user.controller.jsfile
- This is to be called from the
- Create unit tests for all new functionality / update existing unit tests for any changed functionality
It might just to be something that adds or deletes, might need to be two functions
Would be great to have its own test file for these too
Resources
- This issue is part of the Epic EPIC: Database cleaning to include project managers #1986
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
complexity: mediumfeature: Databaserole: Back Endsize: 2ptCan be done in 7-12 hoursCan be done in 7-12 hours
Type
Projects
Status
Final QA (product)