luci-app-cjdns: Add rpcd acl file (#576)
[feed/routing.git] / luci-app-cjdns / files / luci-app-cjdns.json
diff --git a/luci-app-cjdns/files/luci-app-cjdns.json b/luci-app-cjdns/files/luci-app-cjdns.json
new file mode 100644 (file)
index 0000000..5ec2170
--- /dev/null
@@ -0,0 +1,15 @@
+{
+        "luci-app-cjdns": {
+                "description": "Grant access to LuCI app cjdns",
+                "read": {
+                        "uci": [ "cjdns" ]
+                },
+                "write": {
+                        "file": {
+                                "/usr/bin/cjdrouteconf": [ "exec" ]
+                        },
+                        "uci": [ "cjdns" ]
+                }
+        }
+}
+