summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-nut
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-nut')
-rw-r--r--applications/luci-app-nut/root/usr/share/rpcd/acl.d/luci-app-nut.json11
1 files changed, 11 insertions, 0 deletions
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" ]
+ }
+ }
+}