summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-nlbwmon/root/usr/share/rpcd
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-04-10 23:21:35 +0200
committerJo-Philipp Wich <jo@mein.io>2020-04-10 23:21:35 +0200
commit43e872871a85dce70509c3c97c10e9c61788c378 (patch)
treef773e0ebd4207d5bf511d8eb6ef61c1cf2a69f21 /applications/luci-app-nlbwmon/root/usr/share/rpcd
parentd9084c5fb6ad574396a8f103073cab0480f2ddd1 (diff)
treewide: stage ACL rules for legacy applications
Fixes: #3866 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-nlbwmon/root/usr/share/rpcd')
-rw-r--r--applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json11
1 files changed, 11 insertions, 0 deletions
diff --git a/applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json b/applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json
new file mode 100644
index 0000000000..0ccc5b1c36
--- /dev/null
+++ b/applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json
@@ -0,0 +1,11 @@
+{
+ "luci-app-nlbwmon": {
+ "description": "Grant UCI access for luci-app-nlbwmon",
+ "read": {
+ "uci": [ "nlbwmon" ]
+ },
+ "write": {
+ "uci": [ "nlbwmon" ]
+ }
+ }
+}