summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-openconnect/root/usr/share/rpcd
diff options
context:
space:
mode:
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" ]
+ }
+ }
+}