Feat: pass user external to the phone page
What does this MR do and why?
related to https://jihulab.com/gitlab-cn/gitlab/-/issues/3776
- Pass user external value to frontend on the phone page.
Screenshots or screen recordings
Not external user | external users && terms enforced | terms not enforced |
---|---|---|
false | true | false |
How to set up and validate locally
#1
case- with terms enforced
- login as root user
- goto phones page
- you should not see the terms checkbox
#2
case- with terms enforced
- Oauth login
- goto phones page
- you should see the terms checkbox
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 编辑于