summaryrefslogtreecommitdiffhomepage
path: root/modules/freifunk
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2014-04-23 12:15:02 +0000
committerJo-Philipp Wich <jow@openwrt.org>2014-04-23 12:15:02 +0000
commit2e9b25330c5f6e7568c9c32f180f69f7c1bed057 (patch)
treeb54ce210cf84969a6456d2b166a0040b61ad61a1 /modules/freifunk
parentc5b324148dec1c77aeb44ed740b7e151dfdeb57d (diff)
Revert "modules/freifunk: don't drop priveleges for OLSR status page, we need root to talk to ubus"
This reverts commit 57481b0e94b1d4be944c623ffa8334cbd4d53cbb, it contains some accidentally commited changes.
Diffstat (limited to 'modules/freifunk')
-rw-r--r--modules/freifunk/luasrc/controller/freifunk/freifunk.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/freifunk/luasrc/controller/freifunk/freifunk.lua b/modules/freifunk/luasrc/controller/freifunk/freifunk.lua
index d4606e750..ed4d6847d 100644
--- a/modules/freifunk/luasrc/controller/freifunk/freifunk.lua
+++ b/modules/freifunk/luasrc/controller/freifunk/freifunk.lua
@@ -60,9 +60,7 @@ function index()
assign({"freifunk", "status", "splash"}, {"splash", "publicstatus"}, _("Splash"), 40)
end
- page = assign({"freifunk", "olsr"}, {"admin", "status", "olsr"}, _("OLSR"), 30)
- page.setuser = false
- page.setgroup = false
+ assign({"freifunk", "olsr"}, {"admin", "status", "olsr"}, _("OLSR"), 30)
if nixio.fs.access("/etc/config/luci_statistics") then
assign({"freifunk", "graph"}, {"admin", "statistics", "graph"}, _("Statistics"), 40)