Skip to content

Resolve "[MVC] - Create Todos for project owners on request access"

What does this MR do and why?

This MR creates todos for 10 recently active owners of a project if an access request is raised for it. If the total no. of project owners is less than 10, then it will create todos for all of them.

This is an extension of MRs !103316 (merged) and !106554 (merged) which introduced creation of todos when access request is raised for a group.

Note: Auto deletion and marking done of todos will be handled as part of issue #374726 (closed)

Screenshots or screen recordings

Sample todo, on clicking this todo, page with url https://<domain_name>/todo-request-group/todo-project-request/-/project_members?tab=access_requests will open.

image

Project member access requests list page

image

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Create a public project named Todo Project Request under some public group or user namespace.
  2. Add some users to the project owners list.
  3. Raise access request for the group from a non-member account.
  4. For the 10 recently active owners of project, todos should be created and they should be able to go to access requests page of the project.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #374725 (closed)

Edited by Hitesh Raghuvanshi

Merge request reports