From: Jo-Philipp Wich Date: Wed, 15 Apr 2020 12:57:20 +0000 (+0200) Subject: luci-compat: add wildcard ACL allowing access to all uci configurations X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=06fea062b75296bc005b30ca14ed1881598a0e1c;p=project%2Fluci.git luci-compat: add wildcard ACL allowing access to all uci configurations Ref: https://github.com/openwrt/luci/issues/3917 Signed-off-by: Jo-Philipp Wich --- diff --git a/modules/luci-compat/root/usr/share/rpcd/acl.d/luci-compat.json b/modules/luci-compat/root/usr/share/rpcd/acl.d/luci-compat.json new file mode 100644 index 0000000000..ea1a435367 --- /dev/null +++ b/modules/luci-compat/root/usr/share/rpcd/acl.d/luci-compat.json @@ -0,0 +1,11 @@ +{ + "allow-full-uci-access": { + "description": "Allow full UCI access for legacy applications", + "read": { + "uci": [ "'*" ] + }, + "write": { + "uci": [ "'*" ] + } + } +}