Draft: Enforce acceptance of changed terms
What does this MR do and why?
related to https://jihulab.com/gitlab-cn/gitlab/-/issues/3697
related to upstream issue https://gitlab.com/gitlab-org/gitlab/-/issues/345524
related upstream MR https://gitlab.com/gitlab-org/gitlab/-/merge_requests/136039
What's been done
- User must accept the latest version of terms, or they will be redirected to the terms page
- The redirection of terms is placed before the onboarding process
- License tier: Ultimate
Screenshots or screen recordings
How to set up and validate locally
- In rails console enable the experiment fully
Feature.enable(:enforce_acceptance_of_changed_terms)
- Login as admin
- Setup
Terms of Service and Privacy Policy
onhttp://127.0.0.1:3000/admin/application_settings/general
- Register a new user
- Login as that new user
- You should be redirected to the
Terms Page
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.
由 Martin Tan 编辑于