From d733520d6b30fe4f226f2651e9ebdf4e95211a3c Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 18 Apr 2020 19:33:51 +0200 Subject: [PATCH] luci-app-transmission: add ACL definitions Ref: https://bugs.openwrt.org/index.php?do=details&task_id=3000 Signed-off-by: Jo-Philipp Wich --- .../rpcd/acl.d/luci-app-transmission.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 applications/luci-app-transmission/root/usr/share/rpcd/acl.d/luci-app-transmission.json 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" ] + } + } +} -- 2.25.1