-
Notifications
You must be signed in to change notification settings - Fork 619
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
read only web ui #302
Comments
Not at the moment. What would be a good way of supporting this? |
from user perspective something like this will do. |
A read-only option, a secure way to access (LDAP, oauth2 etc...) or a disable switch will be good solutions regarding security. The Best is authentication for me. But it's not the simpliest one for a first shot :) a read-only option can be a good start ! |
Read-Only and authentication are two different concepts. They're related but not the same. Setting the UI to read-only would allow you to have a set of public fabios and maybe one internal where you allow the overrides. I think that might be a good compromise that is simple enough and covers enough use-cases without full-blown auth. The problem with authentication is that you need ssl for this which means you need a cert and you need to manage the secret or the integration into some auth system. There is #166 and #25 already open and to do this properly I'd need to add auth backends like I want to add auth at some point but I'd prefer to provide you a solution now if possible. |
This patch adds an access mode for the ui endpoint which allows to disable some or most endpoints with a simple config option.
I've added an |
@magiconair I confirm. Setting to |
@deuch do you have an opinion about the |
I understand it becomes tricky for the off option. A ro and rw option can do it actually. An another option : Set a token in the UI (ACL with write right) like in the Consul UI to be able to modify some routes for example ? It's just a thought :) By default it's RO and to be able to modify, you need a consul token, so it can bring some "security". |
I think I'll just drop the |
This patch adds an access mode for the ui endpoint which allows to disable some or most endpoints with a simple config option.
This patch adds an access mode for the ui endpoint which allows to disable some or most endpoints with a simple config option.
I've dropped |
Ok so now I'm asking for this option :) |
IMHO health and UI are separate beasts. Unintentionally open UI may leak your endpoint IPs which you probably don't want to share with everyone around. |
Is it possible to make web ui read only?
I'd like to be able to browse
:9998/health
and:9998/routes
from0.0.0.0/0
but not to allow overrides.The text was updated successfully, but these errors were encountered: