luci-app-wol: add read access to etherwake UCI config
authorJo-Philipp Wich <jo@mein.io>
Sun, 12 Apr 2020 09:07:38 +0000 (11:07 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sun, 12 Apr 2020 09:09:15 +0000 (11:09 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
applications/luci-app-wol/root/usr/share/rpcd/acl.d/luci-app-wol.json

index 62a1eb97594523eb4027cb8d2859695665db510f..c679fe321315cfbaeedad38798b045e8db385a70 100644 (file)
@@ -4,7 +4,8 @@
                "read": {
                        "ubus": {
                                "luci-rpc": [ "getHostHints" ]
-                       }
+                       },
+                       "uci": [ "etherwake" ]
                },
                "write": {
                        "file": {