Skip to content

Add Validation to namespace_settings.new_user_signups_cap

Jason Goodman requested to merge add-seat-control-user-cap-validation into master

What does this MR do and why?

Add validation to namespace_settings.new_user_signups_cap.

new_user_signups_cap must be a positive integer when seat_control is set to 'user_cap'.

This is step 4 in the development notes here: https://gitlab.com/gitlab-org/gitlab/-/issues/470094#note_1977685205

Issue: https://gitlab.com/gitlab-org/gitlab/-/issues/470094

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Jason Goodman

Merge request reports

Loading