Remove role required before action
What does this MR do and why?
Remove role required before action
- CE no longer need to fill out the welcome form.
- EE will still be directed to welcome page, but will eventually be removed via next MR in !129528 (merged)
- EE with SaaS is forced to fill it out via ensure_onboarding paradigm
Screenshots or screen recordings
See screenshots on #411858 (closed) an further description
How to set up and validate locally
coverage in spec/features/users/signup_spec.rb
and ee/spec/features/registrations/saas
show full process - one way to validate seen below
- Register as a new user.
- Confirm email by finding the confirmation path from last User created in
rails console
Rails.application.routes.url_helpers.user_confirmation_path(confirmation_token: User.last.confirmation_token)
- Verify landing in welcome page after verification/sign up.
- Attempt to go to root path (/)
- Validate not redirected back to welcome. If you are, it is because you are setup to emulate SaaS and you should turn that off to verify here.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #411858 (closed)
Edited by Doug Stull