summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-coovachilli/root/usr/share
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-coovachilli/root/usr/share')
-rw-r--r--applications/luci-app-coovachilli/root/usr/share/luci/menu.d/luci-app-coovachilli.json36
-rw-r--r--applications/luci-app-coovachilli/root/usr/share/rpcd/acl.d/luci-app-coovachilli.json5
2 files changed, 6 insertions, 35 deletions
diff --git a/applications/luci-app-coovachilli/root/usr/share/luci/menu.d/luci-app-coovachilli.json b/applications/luci-app-coovachilli/root/usr/share/luci/menu.d/luci-app-coovachilli.json
index 5178a59894..90390a8b50 100644
--- a/applications/luci-app-coovachilli/root/usr/share/luci/menu.d/luci-app-coovachilli.json
+++ b/applications/luci-app-coovachilli/root/usr/share/luci/menu.d/luci-app-coovachilli.json
@@ -1,44 +1,12 @@
{
"admin/services/coovachilli": {
"title": "CoovaChilli",
- "order": 90,
"action": {
- "type": "cbi",
- "path": "coovachilli",
- "post": { "cbi.submit": true }
+ "type": "view",
+ "path": "coovachilli/coovachilli"
},
"depends": {
"acl": [ "luci-app-coovachilli" ]
}
- },
-
- "admin/services/coovachilli/network": {
- "title": "Network Configuration",
- "order": 1,
- "action": {
- "type": "cbi",
- "path": "coovachilli_network",
- "post": { "cbi.submit": true }
- }
- },
-
- "admin/services/coovachilli/radius": {
- "title": "RADIUS configuration",
- "order": 2,
- "action": {
- "type": "cbi",
- "path": "coovachilli_radius",
- "post": { "cbi.submit": true }
- }
- },
-
- "admin/services/coovachilli/auth": {
- "title": "UAM and MAC Authentication",
- "order": 3,
- "action": {
- "type": "cbi",
- "path": "coovachilli_auth",
- "post": { "cbi.submit": true }
- }
}
}
diff --git a/applications/luci-app-coovachilli/root/usr/share/rpcd/acl.d/luci-app-coovachilli.json b/applications/luci-app-coovachilli/root/usr/share/rpcd/acl.d/luci-app-coovachilli.json
index a3643b5311..e746e124f8 100644
--- a/applications/luci-app-coovachilli/root/usr/share/rpcd/acl.d/luci-app-coovachilli.json
+++ b/applications/luci-app-coovachilli/root/usr/share/rpcd/acl.d/luci-app-coovachilli.json
@@ -2,7 +2,10 @@
"luci-app-coovachilli": {
"description": "Grant UCI access for luci-app-coovachilli",
"read": {
- "uci": [ "coovachilli" ]
+ "uci": [ "coovachilli" ],
+ "ubus": {
+ "luci-rpc": [ "getNetworkDevices" ]
+ }
},
"write": {
"uci": [ "coovachilli" ]