Skip to content

Redirect to admin projects index if project was deleted from admin page

Luke Picciau requested to merge (removed):delete-project-in-admin into master

What does this MR do?

Fixes #27768 (closed)

When deleting a project, check if the request came from the admin/projects page and if so redirect back to the admin projects list instead of the dashboard projects

Does this MR meet the acceptance criteria?

Conformity

Performance and testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Luke Picciau

Merge request reports