From 06fea062b75296bc005b30ca14ed1881598a0e1c Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 15 Apr 2020 14:57:20 +0200 Subject: 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 --- .../luci-compat/root/usr/share/rpcd/acl.d/luci-compat.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 modules/luci-compat/root/usr/share/rpcd/acl.d/luci-compat.json (limited to 'modules') 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 000000000..ea1a43536 --- /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": [ "'*" ] + } + } +} -- cgit v1.2.3