Skip to content
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

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

Open
gaoweijie opened this issue Aug 25, 2021 · 0 comments
Open

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

gaoweijie opened this issue Aug 25, 2021 · 0 comments

Comments

@gaoweijie
Copy link

gaoweijie commented Aug 25, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant