Skip to content

Update warning text if user can't create personal projects

Julia Miocene requested to merge user-project-limit into master

What does this MR do and why?

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 for everyone After: user has limits After: user has no limits
CleanShot_2024-03-12_at_12.03.30_2x CleanShot_2024-03-12_at_14.31.51_2x CleanShot_2024-03-12_at_14.32.42_2x

How to set up and validate locally

User has no limits

  1. Visit /admin/users/reported_user_8
  2. Click [Impersonate]
  3. Visit /users/reported_user_8/projects

User has limits

  1. Stop impersonating
  2. Visit /admin/users/reported_user_8/edit
  3. Set project limit to 0
  4. Click [Impersonate]
  5. Visit /users/reported_user_8/projects

Relates to #424397 (closed). Closes #369360 (closed).

Edited by Julia Miocene

Merge request reports

Loading