-
-
Notifications
You must be signed in to change notification settings - Fork 97
Create routes and methods for updating User and Project 'ManagedBy' fields #1988
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 routes and methods for updating User and Project 'ManagedBy' fields #1988
Conversation
|
@trillium |
|
@jng34 is adding unit tests to this PR and will remove the "waiting to merge" label once this PR is ready to be reviewed. |
|
Hi @jng34! I saw that you added / removed the |
|
@JackHaeg I forgot add one more test and will update the "waiting to merge" label once more when the PR is ready. |
|
@JackHaeg |
trillium
left a comment
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.
This PR is looking good! Please resolve these two things and we can merge it :)
…UserAndProj' into updateManagedFieldsUserAndProj
trillium
left a comment
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.
Thanks for your work here James :D
client/src/api/UserApiService.js
Outdated
| } | ||
| return undefined; | ||
| } | ||
| // // Updates user projects in db |
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.
Can you remove this commented out function
Fixes #1987
What changes did you make and why did you make them ?
UserController.updateManagedProjectsandProjectController.updateManagedByUsersto simultaneously update (add/remove) db for related user and project/:UserId/managedProjectsand new project route/:ProjectIdfor the respective methodsUserController.updateManagedProjectswhen a user adds or removes a project.