Skip to content

Reschedule migration to add admin_mode scope for PATs

Imre Farkas requested to merge if-391598-rerun_backfill_admin_mode_for_pats into master

What does this MR do and why?

The background migration was originally added in !107875 (merged), but it failed in certain installations. Token scopes are serialized by ActiveRecord and stored as strings, but our documentation contained a script which added a scope as symbol which led to the failing jobs.

This MR fixes the background migration to consolidate symbol values stored in scopes when needed, and requeues the migration.

Related to #391598 (closed)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Imre Farkas

Merge request reports