diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-04-18 19:33:51 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-04-18 19:34:37 +0200 |
commit | d733520d6b30fe4f226f2651e9ebdf4e95211a3c (patch) | |
tree | d77b0065c3d01da9123a5ea0b2272fe958089cfd /applications/luci-app-transmission | |
parent | 1f082a6ac68e0eadefbb1066f4032fb0d2745cfa (diff) |
luci-app-transmission: add ACL definitions
Ref: https://bugs.openwrt.org/index.php?do=details&task_id=3000
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-transmission')
-rw-r--r-- | applications/luci-app-transmission/root/usr/share/rpcd/acl.d/luci-app-transmission.json | 18 |
1 files changed, 18 insertions, 0 deletions
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" ] + } + } +} |