diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-06-20 23:56:58 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2022-06-20 23:58:07 +0200 |
commit | 4769bf11aa5d33cda4785faec8046c67cb51a606 (patch) | |
tree | 97d046f92bbbe41abeea8a3c19f485db5160ebc0 /protocols/luci-proto-wireguard/root/usr/share | |
parent | cc3d97ccecec041128462d44d85f9393a502f60e (diff) |
luci-proto-wireguard: grant uci read access to system and ddns config
The configuration export requires access to /e/c/system and /e/c/ddns for
external hostname hints.
Fixes: #5838
Fixes: 9ba20645b0 ("luci-proto-wireguard: rewrite protocol handler")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'protocols/luci-proto-wireguard/root/usr/share')
-rw-r--r-- | protocols/luci-proto-wireguard/root/usr/share/rpcd/acl.d/luci-wireguard.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/luci-proto-wireguard/root/usr/share/rpcd/acl.d/luci-wireguard.json b/protocols/luci-proto-wireguard/root/usr/share/rpcd/acl.d/luci-wireguard.json index 079be14793..674deb6c7d 100644 --- a/protocols/luci-proto-wireguard/root/usr/share/rpcd/acl.d/luci-wireguard.json +++ b/protocols/luci-proto-wireguard/root/usr/share/rpcd/acl.d/luci-wireguard.json @@ -4,7 +4,8 @@ "read": { "file": { "/usr/bin/qrencode --inline --8bit --type=SVG --output=- -- *": [ "exec" ] - } + }, + "uci": [ "ddns", "system" ] }, "write": { "ubus": { |