DeemOpen / zkui

A UI dashboard that allows CRUD operations on Zookeeper.
2.36k stars 977 forks source link

How to config the defaultAcl field in config.cfg file? #99

Open gaoweijie opened 3 years ago

gaoweijie commented 3 years ago

when i try to connect zk (zk has acl), i try to config the defaultAcl field in config.cfg file. I see the note tips as below:

For example defaultAcl={"acls": [{"scheme":"ip", "id":"192.168.1.192", "perms":"*"}, {"scheme":"ip", id":"192.168.1.0/24", "perms":"r"}]

when I config this filed as 【 defaultAcl={"acls": [{"scheme":"digest", "id":"xxx:xxxx", "perms":"cdrwa"}]} 】, but I found it still didn't work: image

Tips:My zk acl config as below:

 addauth digest xxx:xxxx
    setAcl /  auth:xxx:xxxx:cdrwa

How to config the defaultAcl field in config.cfg file?