DeemOpen / zkui

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

KeeperErrorCode = NoAuth for /123 #36

Open Ferzen opened 7 years ago

Ferzen commented 7 years ago

How to add the ACL authentication

chenhuimin commented 7 years ago

how to add digest auth

amih90 commented 6 years ago

how to add the ACL auth to zkui?

xsomnus commented 5 years ago

try config.cfg file the filed defaultAcl

dgqypl commented 4 years ago

reference to the below issues: https://github.com/DeemOpen/zkui/pull/50 https://github.com/DeemOpen/zkui/pull/87

gaoweijie commented 3 years ago

try config.cfg file the filed defaultAcl

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? Can you help me ? @xsomnus