Create API call to get all users who are listed as managers on a project
Overview
Currently, there is no way for admins to see a list of users who are project managers and which projects they are associated with on VRMS. Given that, we need to create an API that will return a list of users with each entry corresponding to a project they manage.
Action Items
- [ ] Reference best practices research on #1769
- [ ] Create MongoDB query that returns a list of user objects where the user has a list of projects they manage. Only return users who manage projects.
- [ ] Ensure that the user objects are populated with the project name and project ID of what they manage.
Resources/Instructions
- Refer to: https://www.mongodb.com/docs/
- This issue is part of this epic: #1737
@JackHaeg I can pick this up and work on it this week! See you tomorrow!
@lcchrty This issue is part of a larger User Permission Search epic, and is based on research that @ntrehan has conducted on a previous issue (#1769 which is still under review). We would like for @ntrehan to take on this issue this week based on his previous research.
Given that, I would recommend picking up an issue from the prioritized backlog that is not associated with this epic for now.
PR has been merged into user_permissions_search branch. Closing issue as completed.