From c35cb317fe6a5d42e3c7294e02fac65c50ef3f3c Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 12 Apr 2020 11:05:18 +0200 Subject: [PATCH] luci-app-ttyd: add ACL rules Ref: https://github.com/openwrt/luci/issues/3902#issuecomment-612551325 Signed-off-by: Jo-Philipp Wich --- .../root/usr/share/rpcd/acl.d/luci-app-ttyd.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 applications/luci-app-ttyd/root/usr/share/rpcd/acl.d/luci-app-ttyd.json 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" ] + } + } +} -- 2.25.1