luci-app-smartdns: fix acl for uci
authorFlorian Eckert <fe@dev.tdt.de>
Tue, 7 Jul 2020 10:12:30 +0000 (12:12 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Tue, 7 Jul 2020 10:12:32 +0000 (12:12 +0200)
fixes #4226

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
applications/luci-app-smartdns/root/usr/share/rpcd/acl.d/luci-app-smartdns.json

index 659d6cd410334e1e090946a226d38baefc79c6f2..78fbb1c509fdbe18420c0d704f6368b4fbbbd7a1 100644 (file)
                        },
                        "ubus": {
                                "service": [ "list" ]
-                       }
+                       },
+                       "uci": [ "smartdns" ]
                },
                "write": {
                        "file": {
                                "/etc/smartdns/*": [ "write" ]
-                       }
+                       },
+                       "uci": [ "smartdns" ]
                }
        }
 }