Conditionally render create project button
This commit checks whether the current user is allowed to create a project prior to rendering the button. It also return a `404` error for the Project#new method when the current user is not allowed to create a new project. Closes https://gitlab.com/gitlab-org/gitlab/-/issues/333450 Changelog: fixed
Showing
Please register or sign in to comment