Draft: Fix warning when user is unable to create project
What does this MR do and why?
A vague warning, Namespace is not valid
, was shown if a user tries to
create a project when his maximum number of projects has been reached.
After this change, a more specific warning is shown, Limit reached Personal project is not allowed. Please contact your administrator with questions
.
Screenshots or screen recordings
Before
After
How to set up and validate locally
- As an admin, go to the users table, select user X, click on the
Edit
and set theProjects limit
to zero. - As user X, try to create a project
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 Eduardo Sanz García