VRMS icon indicating copy to clipboard operation
VRMS copied to clipboard

Create API call to get all users who are listed as managers on a project

Open JackHaeg opened this issue 1 year ago • 2 comments

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 avatar Oct 02 '24 20:10 JackHaeg

@JackHaeg I can pick this up and work on it this week! See you tomorrow!

lcchrty avatar Oct 14 '24 04:10 lcchrty

@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.

JackHaeg avatar Oct 14 '24 15:10 JackHaeg

PR has been merged into user_permissions_search branch. Closing issue as completed.

JackHaeg avatar Jan 21 '25 19:01 JackHaeg