Add admin setting section for non-billable users promotion management
What does this MR do and why?
Adds an admin settings section for Promotion Management for Self Managed instances.
Resolves #452276 (closed)
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.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
![]() |
![]() |
How to set up and validate locally
- Ensure the environment is right:
- Simulate a self managed instance (
GITLAB_SIMULATE_SAAS=0
in env for gdk) - Purchase an Ultimate licence
- enable
member_promotion_management
feature viarails c
andFeature.enable(:member_promotion_management)
- Simulate a self managed instance (
- Go to admin area > settings > general > sign up restrictions
- Check that the
Approve role promotions
checkbox is present and preserves it's state when reloaded - When enabled — admin users page
http://localhost:3000/admin/users
should contain "Role promotions" tab
Edited by Kos Palchyk