Update registration enabled callout
What does this MR do and why?
Related to #344553 (closed)
There is a callout that is shown when to Admins when the Sign-up enabled
settings is enabled in Admin Area
-> Settings
-> General
. The intent of this callout is to let the admin know that anybody can register an account on their GitLab instance. Currently this callout is shown on all pages. Also there has been some confusion with the copy in the callout. This MR updates the copy and changes the logic so the callout is only shown on /dashboard/*
and /admin/*
pages.
Screenshots or screen recordings
Desktop
Before | After |
---|---|
Mobile
Before | After |
---|---|
How to set up and validate locally
- Sign in as an admin
- Navigate to
/admin/application_settings/general
. In theSign-up restrictions
panel check theSign-up enabled
checkbox. - Clear closed callouts
bin/rails console
Users::Callout.where({ feature_name: 25 }).destroy_all
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.
Edited by Peter Hegman