Skip to content

Add new configuration option for setting the new user signups cap

Vitaly Slobodin requested to merge vs-admin-new-user-signups into master

What does this MR do?

Add a new configuration option for setting the new user signups cap. This MR just adds visual control for this setting. Further implementation follows.

Closes #211390 (closed).

Screenshots

image

Database

Migration up

== 20201019113009 AddNewUserSignupsCapToApplicationSettings: migrating ========
-- add_column(:application_settings, :new_user_signups_cap, :integer)
   -> 0.0055s
== 20201019113009 AddNewUserSignupsCapToApplicationSettings: migrated (0.0056s)

Migration down

== 20201019113009 AddNewUserSignupsCapToApplicationSettings: reverting ========
-- remove_column(:application_settings, :new_user_signups_cap, :integer)
   -> 0.0066s
== 20201019113009 AddNewUserSignupsCapToApplicationSettings: reverted (0.0114s)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Vitaly Slobodin

Merge request reports