Remaining New project link for users that can't create one
There are some remaining "New Project" links being displayed to users that don't have any project creation rights. The creation process then fails as it should with "invalid namespace".
We previously removed most of these links, see #256 (closed) and #361 (closed) for background.
Steps to reproduce
- Create an "external user"
- Impersonate the user
- Go to the user profile (should be
Behold, there's a new project green link as attached.
What is the current bug behavior?
A "New project" link get displayed where arguably it should not, the creation process then fails with an obscure error.
What is the expected correct behavior?
Even if there is a link to the "New project" page displayed to users that don't have creation rights, it should not lead to an obscure error.
Details about the Heptapod instance where the bug occurs
Happens on foss.h.n, probably generic.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information