Add SM welcome flow Step 2 Setup Profile route, controller, and blank view
What does this MR do and why?
Add SM welcome flow Step 2 route, controller, and blank view
Scaffold the ProfilesController under Admin::Registrations, gated by the existing :self_managed_welcome_onboarding FF and the EE SaaS guard, matching Step 1 conventions exactly. Includes CE/EE request specs and a view spec.
Relates to https://gitlab.com/gitlab-org/gitlab/-/issues/595896
Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
References
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
- Make sure that GitLab is not setup to simulate saas (
export GITLAB_SIMULATE_SAAS=0) - Feature.enable(:self_managed_welcome_onboarding)
- Navigate to /admin/registrations/profiles/new as admin → expect:
200 response Minimal layout (no top nav, no sidebar) Heading: "Set up your profile" Page title: "Set up your profile · GitLab"
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.
Related to #595896
Edited by Buck O'Leary