luci-app-dockerman: add ACL rule
authorFlorian Eckert <fe@dev.tdt.de>
Thu, 23 Apr 2020 13:37:18 +0000 (15:37 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Wed, 10 Jun 2020 06:44:58 +0000 (08:44 +0200)
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
applications/luci-app-dockerman/root/usr/share/rpcd/acl.d/luci-app-dockerman.json [new file with mode: 0644]

diff --git a/applications/luci-app-dockerman/root/usr/share/rpcd/acl.d/luci-app-dockerman.json b/applications/luci-app-dockerman/root/usr/share/rpcd/acl.d/luci-app-dockerman.json
new file mode 100644 (file)
index 0000000..ba1a10c
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-dockerman": {
+               "description": "Grant UCI access for luci-app-dockerman",
+               "read": {
+                       "uci": [ "dockerman" ]
+                       },
+               "write": {
+                       "uci": [ "dockerman" ]
+               }
+       }
+}