Allow Guests and Reporters to change the assignee of merge requests they author
Problem to solve
As a community contributor to GitLab, I want to be able to add assignees, so that I can fully participate in GitLab's development workflow.
Intended users
- Community contributors submitting MRs to GitLab, and any other projects with a similar workflow.
User experience goal
A user who authors an MR can change the assignee of the MR even if that user does not normally have permission to change the assignee of MRs for that project.
Proposal
Add a project setting, "Allow merge requests authors to change the assignee of their merge requests regardless of access level."
Change the security model for merge requests to allow a user who can author merge requests to change the assignee of a merge request if the user is the author of that merge request.
Further details
As a community contributor, my access level to gitlab-org/gitlab
is guest
, which means I can't change the assignee of merge request. This is somewhat problematic because GitLab's MR workflow involves assigning the MR back and forth between the author and reviewer(s). But community contributors (guests) cannot assign MRs, so we must rely solely on pinging.
Permissions and Security
- A user who cannot author merge requests cannot change MR assignee
- A user who can author merge requests but cannot generally change MR assignee can change the assignee for MRs they authored
Given the above, if a user is a Reporter and authors a merge request, and then Reporter access is revoked, they will no longer be able to change the merge request assignee.