summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-olsr/luasrc
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-olsr/luasrc')
-rw-r--r--applications/luci-app-olsr/luasrc/controller/olsr.lua2
-rw-r--r--applications/luci-app-olsr/luasrc/controller/olsr4.lua1
-rw-r--r--applications/luci-app-olsr/luasrc/controller/olsr6.lua1
3 files changed, 3 insertions, 1 deletions
diff --git a/applications/luci-app-olsr/luasrc/controller/olsr.lua b/applications/luci-app-olsr/luasrc/controller/olsr.lua
index 22d9a01f15..41897092f7 100644
--- a/applications/luci-app-olsr/luasrc/controller/olsr.lua
+++ b/applications/luci-app-olsr/luasrc/controller/olsr.lua
@@ -26,6 +26,7 @@ function index()
page.target = template("status-olsr/overview")
page.title = _("OLSR")
page.subindex = true
+ page.acl_depends = { "luci-app-olsr" }
local page = node("admin", "status", "olsr", "json")
page.target = call("action_json")
@@ -74,7 +75,6 @@ function index()
{"admin", "services", "olsrd", "display"},
cbi("olsr/olsrddisplay"), _("Display")
)
-
end
function action_json()
diff --git a/applications/luci-app-olsr/luasrc/controller/olsr4.lua b/applications/luci-app-olsr/luasrc/controller/olsr4.lua
index 31a3101bc2..5c6d887cb2 100644
--- a/applications/luci-app-olsr/luasrc/controller/olsr4.lua
+++ b/applications/luci-app-olsr/luasrc/controller/olsr4.lua
@@ -13,6 +13,7 @@ function index()
cbi("olsr/olsrd"), "OLSR IPv4"
)
ol.subindex = true
+ ol.acl_depends = { "luci-app-olsr" }
entry(
{"admin", "services", "olsrd", "iface"},
diff --git a/applications/luci-app-olsr/luasrc/controller/olsr6.lua b/applications/luci-app-olsr/luasrc/controller/olsr6.lua
index 9fbaa0427b..d09ad3398c 100644
--- a/applications/luci-app-olsr/luasrc/controller/olsr6.lua
+++ b/applications/luci-app-olsr/luasrc/controller/olsr6.lua
@@ -13,6 +13,7 @@ function index()
cbi("olsr/olsrd6"), "OLSR IPv6"
)
ol.subindex = true
+ ol.acl_depends = { "luci-app-olsr" }
entry(
{"admin", "services", "olsrd6", "iface"},