From: Jo-Philipp Wich Date: Sat, 18 Apr 2020 17:33:51 +0000 (+0200) Subject: luci-app-transmission: add ACL definitions X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d733520d6b30fe4f226f2651e9ebdf4e95211a3c;p=oweals%2Fluci.git luci-app-transmission: add ACL definitions Ref: https://bugs.openwrt.org/index.php?do=details&task_id=3000 Signed-off-by: Jo-Philipp Wich --- diff --git a/applications/luci-app-transmission/root/usr/share/rpcd/acl.d/luci-app-transmission.json b/applications/luci-app-transmission/root/usr/share/rpcd/acl.d/luci-app-transmission.json new file mode 100644 index 000000000..79d9306ef --- /dev/null +++ b/applications/luci-app-transmission/root/usr/share/rpcd/acl.d/luci-app-transmission.json @@ -0,0 +1,18 @@ +{ + "luci-app-olsr": { + "description": "Grant UCI access for luci-app-transmission", + "read": { + "file": { + "/usr/share/transmission/web/index.html": [ "list" ] + }, + "ubus": { + "file": [ "stat" ], + "service": [ "list" ] + }, + "uci": [ "transmission" ] + }, + "write": { + "uci": [ "transmission" ] + } + } +}