From d733520d6b30fe4f226f2651e9ebdf4e95211a3c Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 18 Apr 2020 19:33:51 +0200 Subject: luci-app-transmission: add ACL definitions Ref: https://bugs.openwrt.org/index.php?do=details&task_id=3000 Signed-off-by: Jo-Philipp Wich --- .../usr/share/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 (limited to 'applications/luci-app-transmission/root/usr/share/rpcd/acl.d') 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 0000000000..79d9306ef4 --- /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" ] + } + } +} -- cgit v1.2.3