From: Jo-Philipp Wich Date: Sun, 12 Apr 2020 09:05:18 +0000 (+0200) Subject: luci-app-ttyd: add ACL rules X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c35cb317fe6a5d42e3c7294e02fac65c50ef3f3c;p=oweals%2Fluci.git luci-app-ttyd: add ACL rules Ref: https://github.com/openwrt/luci/issues/3902#issuecomment-612551325 Signed-off-by: Jo-Philipp Wich --- diff --git a/applications/luci-app-ttyd/root/usr/share/rpcd/acl.d/luci-app-ttyd.json b/applications/luci-app-ttyd/root/usr/share/rpcd/acl.d/luci-app-ttyd.json new file mode 100644 index 000000000..7712e7c00 --- /dev/null +++ b/applications/luci-app-ttyd/root/usr/share/rpcd/acl.d/luci-app-ttyd.json @@ -0,0 +1,11 @@ +{ + "luci-app-ttyd": { + "description": "Grant UCI access for luci-app-ttyd", + "read": { + "uci": [ "ttyd" ] + }, + "write": { + "uci": [ "ttyd" ] + } + } +}