Details
-
Bug
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
-
Jenkins: 2.190.2/2.203 (pristine), Browser: Firefox/Chrome, OS: All
Description
When logged in as a user without View -> Create permissions,
when on the "My Views" page, the "New View" link becomes visible.
Since the user doesn't have permissions to create views on the top level (global views):
- I would expect this link to point to "/user/[username]/my-views/newView" instead of "/newView".
- Or for it to be hidden.
Screenshots of a pristine Jenkins docker container with Legacy Authorization Mode:
Attachments
Issue Links
- is related to
-
JENKINS-57186 New View href is an absolute URL but other menu items are relative URLs
-
- Open
-
The newView URL seems to block a menu click from creating a new view on a folder. Steps I took included:
I've created views on folders before, but the same behavior is seen on Jenkins 2.235.5 and on Jenkins 2.249.1. I did not research any further into the past to determine when that behavior changed.
The workaround is to append "/newView" to the end of the folder URL. Views will then be created in the folder.