VRMS icon indicating copy to clipboard operation
VRMS copied to clipboard

Allow project managers to assign new project managers to projects they manage

Open jbubar opened this issue 3 years ago • 1 comments

Dependency

To be completed once Permission Management issues are completed #1737. This issue will need to be rewritten once we see the dependency completed.

Overview

Issue: Project managers (PMs) are only assignable by Admin level users at the moment.

Bonnie does not want to add and remove PMs to individual projects on VRMS herself. She is currently the only person who can add and remove PMs to projects on VRMS. We need to provide existing PMs on a project with the ability to add and remove PMs from the project they have admin permissions on. That way PM's can do all the work and not Bonnie.

Goal

  • [ ] PM can assign and remove PMs from projects they manage
  • [ ] PM can add an event - (already possible as of Sept 5, 2024)
  • [ ] PM can edit eventime - (already possible as of Sept 5, 2024)
  • [ ] PM can see who else is assigned PM

Icebox

  • [ ] PM can unassign themselves
    • [ ] Modal popup warning no going back oh no!

Action Items

Dev Ops

  • [ ] Create feature branch for this issue
  • [ ] Explore using a ref to grab user/project management info OR
    • [ ] requires database migration

Backend

  • [ ] Update database to populate managedByUsers array
  • [ ] Create controller that will update managedByUser field in the projects model
  • [ ] Update user controller to update projects model as well

Frontend

  • [ ] Display managedByUsers on project page
  • [ ] Create interface where PM or Admin can add users as Project Managers to the Project Page
    • [ ] Seach bar
    • [ ] User information
    • [ ] Trash button
      • [ ] Modal: Do you really want to remove this user?
      • [ ] !

Wrap Up

  • [ ] Enjoy Old Fashioned because we did a good job

jbubar avatar Oct 18 '22 03:10 jbubar

Notes for rewrite:

  • [ ] Note that currently, PMs can only see the "projects" tab, they do not see the "users" tab (this is reserved for Admins only at the moment). Thus to enable something like #1231 , we would need to:
      1. Open up access to "User Management" screen for PMs (however, do not allow access to "Permission Management" screen). PMs to see the "Users" tab and the "User Management" screen to search by user (see all users or perhaps only filtered to users on their team), and then add a user to only their project within the user profile screen (again, only allowing.
    • 2). Enable another flow for PMs entirely?
  • Discuss with Bonnie re: roles per project (L = lead PM, M = Member / anyone who is not PM). Nested for each project.

JackHaeg avatar Sep 05 '24 23:09 JackHaeg

  • This issue is a duplicate of #1984
  • Closing as duplicate.

JackHaeg avatar Oct 03 '25 20:10 JackHaeg