From 43e872871a85dce70509c3c97c10e9c61788c378 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 10 Apr 2020 23:21:35 +0200 Subject: treewide: stage ACL rules for legacy applications Fixes: #3866 Signed-off-by: Jo-Philipp Wich --- .../luci-app-nut/root/usr/share/rpcd/acl.d/luci-app-nut.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 applications/luci-app-nut/root/usr/share/rpcd/acl.d/luci-app-nut.json (limited to 'applications/luci-app-nut/root/usr/share/rpcd') diff --git a/applications/luci-app-nut/root/usr/share/rpcd/acl.d/luci-app-nut.json b/applications/luci-app-nut/root/usr/share/rpcd/acl.d/luci-app-nut.json new file mode 100644 index 0000000000..f9abbed338 --- /dev/null +++ b/applications/luci-app-nut/root/usr/share/rpcd/acl.d/luci-app-nut.json @@ -0,0 +1,11 @@ +{ + "luci-app-nut": { + "description": "Grant UCI access for luci-app-nut", + "read": { + "uci": [ "nut_cgi", "nut_monitor", "nut_server" ] + }, + "write": { + "uci": [ "nut_cgi", "nut_monitor", "nut_server" ] + } + } +} -- cgit v1.2.3