Global alert when reach the dashboard limit
What does this MR do and why?
Global alert displayed to group owners when enforcement limit is applied and namespace is moved into a read-only
state with CTAs to action to move namespace to an active state.
Screenshots or screen recordings
![]() |
How to set up and validate locally
- Setup gdk to simulate SaaS - https://docs.gitlab.com/ee/development/ee_features.html#simulate-a-saas-instance and restart GDK
bin/rails c
ApplicationSetting.first.update(dashboard_limit_enabled: true, dashboard_limit: 5, dashboard_limit_new_namespace_creation_enforcement_date: 1.week.ago))
Feature.enable(:free_user_cap)
- Sign in as free user. Create public group and private project inside.
- Add 4 members.
- Go to the group info page. Check alert is not present.
- Go to the project info page. Check alert is not present.
- Create private group and private project inside.
- Add 4 members.
- Go to the group info page. Check alert.
- Go to the project info page. Check alert.
- Sign out. Sign in as another group member.
- Go to the private group info page. Check alert is not present.
- Go to the project info page of the private group. Check alert is not present.
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.
Related to #382620
Edited by Serhii Yarynovskyi