From 6a2a53a82918ea2ccbbbe23510aa0279827b2783 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 20 Aug 2019 15:31:35 +0200 Subject: protocols: add client side protocol handler implementations Signed-off-by: Jo-Philipp Wich --- .../root/usr/share/rpcd/acl.d/luci-openconnect.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 protocols/luci-proto-openconnect/root/usr/share/rpcd/acl.d/luci-openconnect.json (limited to 'protocols/luci-proto-openconnect/root/usr/share/rpcd/acl.d/luci-openconnect.json') diff --git a/protocols/luci-proto-openconnect/root/usr/share/rpcd/acl.d/luci-openconnect.json b/protocols/luci-proto-openconnect/root/usr/share/rpcd/acl.d/luci-openconnect.json new file mode 100644 index 0000000000..66bc5ac24f --- /dev/null +++ b/protocols/luci-proto-openconnect/root/usr/share/rpcd/acl.d/luci-openconnect.json @@ -0,0 +1,17 @@ +{ + "luci-proto-openconnect": { + "description": "Grant access to LuCI OpenConnect procedures", + "read": { + "ubus": { + "luci.openconnect": [ "getCertificates" ] + }, + "uci": [ "network" ] + }, + "write": { + "ubus": { + "luci.openconnect": [ "setCertificates" ] + }, + "uci": [ "network" ] + } + } +} -- cgit v1.2.3