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

Fix the api for projects to include project users #1163

Open
6 tasks
jbubar opened this issue Jul 12, 2022 · 2 comments
Open
6 tasks

Fix the api for projects to include project users #1163

jbubar opened this issue Jul 12, 2022 · 2 comments

Comments

@jbubar
Copy link
Member

jbubar commented Jul 12, 2022

Blocks

Overview

The projects api does not currently return a list of users managing the project. This fix requires updating the projects endpoint to return users assigned to it: users.managedProjects (the managedByUsers field in the projects table does not appear to ever contain any user ids).

Action Items

  • research how to create a many to many relationship with mongo
  • do some research about running a 'migration' to backfill all the data. (this will be a separate issue)
  • rewrite the model to connect the projects to the managedByUsers (add the foreign key to the projects model)
  • Create an issue to run a 'Migration' to have update all of the old data
  • update the api endpoint to return user's info (user name, id, and email)
  • comment on the Error with npm library @slack/bolt #1052 issue to unblock it

Resources/Instructions

Issue where this was discovered

@jbubar
Copy link
Member Author

jbubar commented Aug 9, 2022

I want to encourage @chukalicious to do this issue. She is super smart and I feel like this would be a good opportunity to learn some backend.. I do need a bit of help breaking it down tho

@JackHaeg
Copy link
Member

JackHaeg commented Oct 19, 2023

Action items need to be re-written. This is an old issue, however, this will allow for the website team to know who is associated with the project when updates are done on VRMS.

Screenshot 2023-10-19 at 6 58 54 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: New Issue Approval
Development

No branches or pull requests

5 participants