Skip to content

Migrate ghost user logic to user_type column

What does this MR do?

This is second part of ghost => user_type columns migration #210025 (closed)

It moves the logic from old ghost column to new user_type column, while keeping old column and its data in database. user_type should have proper data for ghost column via part 1 of #210025 (closed)

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability 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

Merge request reports