Open gaoweijie opened 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:
when I config this filed as 【 defaultAcl={"acls": [{"scheme":"digest", "id":"xxx:xxxx", "perms":"cdrwa"}]} 】, but I found it still didn't work:
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?
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:
Tips:My zk acl config as below:
How to config the defaultAcl field in config.cfg file?