summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-openconnect/root/usr/share/rpcd
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-08-20 15:31:35 +0200
committerJo-Philipp Wich <jo@mein.io>2019-09-10 15:28:16 +0200
commit6a2a53a82918ea2ccbbbe23510aa0279827b2783 (patch)
tree7f065f96cc0f255ced7256c1d9092f0e1433fda0 /protocols/luci-proto-openconnect/root/usr/share/rpcd
parent0674fc20414e575c346ceb2066ff3af7e8601a48 (diff)
protocols: add client side protocol handler implementations
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'protocols/luci-proto-openconnect/root/usr/share/rpcd')
-rw-r--r--protocols/luci-proto-openconnect/root/usr/share/rpcd/acl.d/luci-openconnect.json17
1 files changed, 17 insertions, 0 deletions
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" ]
+ }
+ }
+}