Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
All dashboards shown in dropdown when adding widget to dashboards #3693
Only the dashboards the user has edit permissions on should be shown.
Currently all dashboards of all users are shown, even those the user has no permissions on at all.
Steps to Reproduce (for bugs)
Ran into some other issues which also gave me some more information on this. It appears to be related to browser caching. When logging out as one user and then logging in as another one, you still see the dashboard list (in the 'add to dashboard' dropdown) of the other user. When doing a hard refresh in browser, you will only see the dashboards the user has access to.