summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-libreswan/root/usr/share/rpcd/acl.d
diff options
context:
space:
mode:
authorJaymin Patel <jem.patel@gmail.com>2023-10-22 12:09:57 +0530
committerJo-Philipp Wich <jo@mein.io>2023-11-10 13:16:34 +0100
commit9f652445355258497fd7f8c7f06dd75f58cd64ce (patch)
tree17a23de32f15cc4f11f12fdac3a8e5375c889942 /applications/luci-app-libreswan/root/usr/share/rpcd/acl.d
parent5d3558f3f7eb96ea879e5d1c13a7baa1de5e7d25 (diff)
luci-app-libreswan: Add LuCI for Libreswan
LuCI Support for IPSec VPN (Libreswan) Signed-off-by: Jaymin Patel <jem.patel@gmail.com> [fix '15h' label typo] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-libreswan/root/usr/share/rpcd/acl.d')
-rw-r--r--applications/luci-app-libreswan/root/usr/share/rpcd/acl.d/luci-app-libreswan.json14
1 files changed, 14 insertions, 0 deletions
diff --git a/applications/luci-app-libreswan/root/usr/share/rpcd/acl.d/luci-app-libreswan.json b/applications/luci-app-libreswan/root/usr/share/rpcd/acl.d/luci-app-libreswan.json
new file mode 100644
index 0000000000..a846496d93
--- /dev/null
+++ b/applications/luci-app-libreswan/root/usr/share/rpcd/acl.d/luci-app-libreswan.json
@@ -0,0 +1,14 @@
+{
+ "luci-app-libreswan" : {
+ "description" : "Grant access to LuCI app Libreswan IPSec",
+ "read" : {
+ "ubus" : {
+ "libreswan" : [ "*" ]
+ },
+ "uci": [ "libreswan" ]
+ },
+ "write" : {
+ "uci": [ "libreswan" ]
+ }
+ }
+}