-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Settings page 403 when auth disabled #2694
Comments
It was intentionally disabled in case user is not logged in and Dashboard is accessed with permissions of its' Service Account. Right now there is no workaround. We will add argument that will allow to override this behavior. To be honest I haven't thought about alternative deployment. If login page is enabled I think it is expected that "anonymous" users using We will be doing |
@floreks, I agree and think the decisions made when adding this seem totally reasonable. The are always lots of options and it's sometimes hard to determine which cases are meant to be fully supported, so I appreciate the clarification and look forward to this :) |
Environment
I'm trying to run Kubernetes 1.9 with the latest stable dashboard in an internal only environment (orchestrated with latest kubeadm). To play around, I've deployed the "alternative" dashboard flavour which runs over HTTP with no authentication. I've granted the dashboard service account admin privileges as indicated on the access control README page (this was required otherwise the dashboard would fetch no data)
Steps to reproduce
With the alternative dashboard deployed and giving dashboard admin level access, go to the Settings page on the dashboard.
Observed result
You get a 403 Forbidden page saying you don't have privileges.
Expected result
The settings page loads OK
Comments
This seems to have been introduced by #2639 intentionally, however I'm not sure it accounts for the case login is disabled. It may be expecting a logged in user even in this case. It's also possible the "alternative" dashboard config can be altered to allow this and it's simply something that was missed in that deploy config. I also had a similar problem leaving HTTPS login enabled and granting admin privileges. In that case, you can skip login and everything works except for the Settings page (so same behaviour).
Is there a workaround to this or would I be stuck trying to use HTTPS login and granting a single user to everyone for now?
The text was updated successfully, but these errors were encountered: