Skip to content

Prevent project team from being truncated too early during project destruction

Stan Hu requested to merge sh-fix-project-team-truncation-in-destroy into master

There are two issues with truncating the project team early:

  1. Projects::UnlinkForkService may not close merge requests properly since permissions may be revoked early.

  2. If an error is encountered during flushing of caches, then the user will lose all privileges, possibly causing an issue on deletion on retry.

Merge request reports