Field validation for automatic deactivation of dormant users
What does this MR do and why?
Resolves Automatic deactivation of dormant users - UI up... (#378992 - closed)
- adds a validation error message to
Automatic deactivation of dormant users
field. - automatically disables and enables the field based on subsection checkbox
Screenshots or screen recordings
How to set up and validate locally
- Switch to self-managed instance (
export GITLAB_SIMULATE_SAAS=0
) - Go to instance admin settings -> Account and limit -> scroll to "Dormant users" subsection
(http://localhost:3000/admin/application_settings/general#js-account-settings) - Try disabling-enabling subsection checkbox
- Try submitting value of <90 days to trigger error state
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 Kos Palchyk