protocols: add client side protocol handler implementations
[project/luci.git] / 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 (file)
index 0000000..66bc5ac
--- /dev/null
@@ -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" ]
+               }
+       }
+}