Migrate SSO Enforce Terms Checkbox to Pajamas
What does this MR do and why?
Migrate generic checkbox on ee/app/views/groups/sso/_enforce_terms.html.haml to pajamas component
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Enable EE license.
- Setup HTTPS and Group SAML on GDK. Enable the following feature flags:
group_managed_accounts
sign_up_on_sso
convert_user_to_group_managed_accounts
- Enforce ToS and Privacy Policy on
https://gdk.test:3443/admin/application_settings/general
- Enforce grouped managed account at
https://gdk.test:3443/groups/<project>/-/saml
- Get your group's SSO link at
https://gdk.test:3443/groups/<project>/-/saml
- Login on the SSO page using one of the predefined accounts
E.g. user: user1, pass: user1pass
- You should be redirect
https://gdk.test:3443/groups/<project>/-/sign_up
along with the checkbox if everything was set up properly. Or you might also have to manually revisit the same SSO link (I'm sure there's a better way though).
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.
Fixes #361198 (closed)
Edited by Shane Maglangit (Personal)