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
https://<domain_name>/todo-request-group/todo-project-request/-/project_members?tab=access_requests
will open.
Sample todo, on clicking this todo, page with url
Project member access requests list page
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Create a public project named
Todo Project Request
under some public group or user namespace. - Add some users to the project owners list.
- Raise access request for the group from a non-member account.
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #374725 (closed)
Edited by Hitesh Raghuvanshi