summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-eoip/root/usr/share
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-eoip/root/usr/share')
-rw-r--r--applications/luci-app-eoip/root/usr/share/luci/menu.d/luci-app-eoip.json13
-rw-r--r--applications/luci-app-eoip/root/usr/share/rpcd/acl.d/luci-app-eoip.json11
2 files changed, 24 insertions, 0 deletions
diff --git a/applications/luci-app-eoip/root/usr/share/luci/menu.d/luci-app-eoip.json b/applications/luci-app-eoip/root/usr/share/luci/menu.d/luci-app-eoip.json
new file mode 100644
index 0000000000..be121c545e
--- /dev/null
+++ b/applications/luci-app-eoip/root/usr/share/luci/menu.d/luci-app-eoip.json
@@ -0,0 +1,13 @@
+{
+ "admin/network/eoip": {
+ "title": "EoIP tunnel",
+ "action": {
+ "type": "view",
+ "path": "eoip/eoip"
+ },
+ "depends": {
+ "acl": [ "luci-app-eoip" ],
+ "uci": { "eoip": true }
+ }
+ }
+}
diff --git a/applications/luci-app-eoip/root/usr/share/rpcd/acl.d/luci-app-eoip.json b/applications/luci-app-eoip/root/usr/share/rpcd/acl.d/luci-app-eoip.json
new file mode 100644
index 0000000000..e8ddb55517
--- /dev/null
+++ b/applications/luci-app-eoip/root/usr/share/rpcd/acl.d/luci-app-eoip.json
@@ -0,0 +1,11 @@
+{
+ "luci-app-eoip": {
+ "description": "Grant UCI access for luci-app-eoip",
+ "read": {
+ "uci": [ "eoip" ]
+ },
+ "write": {
+ "uci": [ "eoip" ]
+ }
+ }
+}