DeemOpen / DeemOpen/zkui

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

Open
#99 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.4k
Forks
954
PR merge metrics
No merged PRs in 30d

Description

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](https://user-images.githubusercontent.com/8943447/130765109-64c4d47c-9117-4e0d-b07e-3a492a9a2cde.png)

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.