diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-04-15 14:57:20 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-04-15 14:58:54 +0200 |
commit | 06fea062b75296bc005b30ca14ed1881598a0e1c (patch) | |
tree | 718f76966a3f66e20752a34d7debbe598864418a /modules/luci-compat/root/usr/share | |
parent | 62be45c466ff70cb22278cc64f3a55fdb7dbbf19 (diff) |
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 <jo@mein.io>
Diffstat (limited to 'modules/luci-compat/root/usr/share')
-rw-r--r-- | modules/luci-compat/root/usr/share/rpcd/acl.d/luci-compat.json | 11 |
1 files changed, 11 insertions, 0 deletions
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": [ "'*" ] + } + } +} |