Loading
BBM: Recalculate 2FA for minimal_access_users
Related to #534094 (closed) & !225038 (merged)
What does this MR do and why?
- Recalculate group-level 2FA enforcement for ~4450 users with a minimal_access_role
- Occurs as a post-deploy migration
Database Review
Introduced !225317 (b20ced8c) in the first commit which was later optimized after reviews in !235857 (closed) to the current iteration.
db:check-migrations
Time Estimation
Based on !235857 (comment 3391823398), it should take ~11hrs not 3 months like the bot's estimate.
Post Deployment Tracking
Steps
- Verify deployment with chatops:
/chatops gitlab run batched_background_migrations list --job-class-name RecalculateMinAccessTwoFactorEnforcementOnMembers - Use kibana with
json.message: Minimal_access user group 2FA enforcement changed.using thepubsub-sidekiq-inf-gprd*data-view to visualize progress: https://log.gprd.gitlab.net/app/r/s/4Od5F - If some goes wrong, pause/resume:
/chatops gitlab run batched_background_migrations pause MIGRATION_ID - Leave a confidential note update on the main work item at the beginning and end.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Hakeem Abdul-Razak