elkozmon / zoonavigator

Web-based ZooKeeper UI / editor / browser
https://zoonavigator.elkozmon.com
GNU Affero General Public License v3.0
509 stars 73 forks source link

Prohibit specifying custom connection string #57

Open wf1nder opened 4 years ago

wf1nder commented 4 years ago

We want to use ZooNavigator in our production environment to access zk cluster with ACLs. But also we have legacy zk cluster without ACL, and we must prevent users to specify custom connection string to prevent access to legacy cluster.

Is there any way to predefine and prevent to use custom connection string? If not, maybe it worth to implement it?

For example, add some environment variable, describing constant connection string, which will be disabling field with connection string in login form. But leave the ability to specify login and password to use ACLs, or leave it empty.

elkozmon commented 4 years ago

I see. There is no such option yet and I do think it's worth implementing (but keeping the use-case when you want both predefined connections and custom ones). I intend to redesign login a bit and this could be part of it, but I don't see that happening very soon, unfortunately

wf1nder commented 4 years ago

Okay, that would be great!

bogdanov1609 commented 4 years ago

@elkozmon this issue affects me too :(