Skip to content

Delete PATs when transfering project to a free group [RUN AS-IF-FOSS]

What does this MR do?

REF: #284395 (closed)

Context

Project Access tokens are only available for projects under a group with a paid plan. When the project was moved to a group with a free plan, PATs were still valid.

Changes

This MR adds a change that delete all the PATs related to a project when it's being moved to a group with a free plan.

Screenshots or Screencasts (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • [-] 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 Mayra Cabrera

Merge request reports