Separate Invites into their own controller
What does this MR do and why?
- simplifying logic and making code more maintainable
- cleanup of invite logic from welcome controller will be done separately due to deployment concerns
- see https://gitlab.com/gitlab-org/gitlab/-/work_items/590048
How to set up and validate locally
note basically trying to emulate feature spec steps in ee/spec/features/registrations/saas/invite_flow_spec.rb
- Setup to simulate SaaS and restart GDK
- Enable the
refactored_invite_welcomefeature flag - As an already logged in user, invite a user by email to a group or project.
- Go to
http://gdk.test:3000/rails/letter_openerto get the join now link. - Open that in an unsigned in browser window
- Register as a new user.
- Ensure registration flow goes as expected and no requirement to create a group is in that flow.
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 https://gitlab.com/gitlab-org/gitlab/-/work_items/590048
Edited by Doug Stull