Skip to content

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

@gaoweijie

Description

@gaoweijie

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions