summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-radicale/luasrc
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-radicale/luasrc')
-rw-r--r--applications/luci-app-radicale/luasrc/controller/radicale.lua2
-rw-r--r--applications/luci-app-radicale/luasrc/model/cbi/radicale.lua8
2 files changed, 5 insertions, 5 deletions
diff --git a/applications/luci-app-radicale/luasrc/controller/radicale.lua b/applications/luci-app-radicale/luasrc/controller/radicale.lua
index 0be433a48d..291f1b4dcc 100644
--- a/applications/luci-app-radicale/luasrc/controller/radicale.lua
+++ b/applications/luci-app-radicale/luasrc/controller/radicale.lua
@@ -20,7 +20,7 @@ local app_title = I18N.translate("Radicale CalDAV/CardDAV Server")
local app_version = "1.1.0-1"
function index()
- entry( {"admin", "services", "radicale"}, alias("admin", "services", "radicale", "edit"), _("CalDAV/CardDAV"), 58)
+ entry( {"admin", "services", "radicale"}, alias("admin", "services", "radicale", "edit"), _("CalDAV/CardDAV"), 58).acl_depends = { "luci-app-radicale" }
entry( {"admin", "services", "radicale", "edit"}, cbi("radicale") ).leaf = true
entry( {"admin", "services", "radicale", "logview"}, call("_logread") ).leaf = true
entry( {"admin", "services", "radicale", "startstop"}, post("_startstop") ).leaf = true
diff --git a/applications/luci-app-radicale/luasrc/model/cbi/radicale.lua b/applications/luci-app-radicale/luasrc/model/cbi/radicale.lua
index c610478bcb..c5c68686fd 100644
--- a/applications/luci-app-radicale/luasrc/model/cbi/radicale.lua
+++ b/applications/luci-app-radicale/luasrc/model/cbi/radicale.lua
@@ -715,7 +715,7 @@ end
-- Access_Control_Allow_Origin -------------------------------------------------
local heo = hea:option( DynamicList, "Access_Control_Allow_Origin" )
-heo.title = translate("Access-Control-Allow-Origin")
+heo.title = "Access-Control-Allow-Origin"
heo.description = nil
function heo.parse(self, section, novld)
CTRL.value_parse(self, section, novld)
@@ -723,7 +723,7 @@ end
-- Access_Control_Allow_Methods ------------------------------------------------
local hem = hea:option( DynamicList, "Access_Control_Allow_Methods" )
-hem.title = translate("Access-Control-Allow-Methods")
+hem.title = "Access-Control-Allow-Methods"
hem.description = nil
function hem.parse(self, section, novld)
CTRL.value_parse(self, section, novld)
@@ -731,7 +731,7 @@ end
-- Access_Control_Allow_Headers ------------------------------------------------
local heh = hea:option( DynamicList, "Access_Control_Allow_Headers" )
-heh.title = translate("Access-Control-Allow-Headers")
+heh.title = "Access-Control-Allow-Headers"
heh.description = nil
function heh.parse(self, section, novld)
CTRL.value_parse(self, section, novld)
@@ -739,7 +739,7 @@ end
-- Access_Control_Expose_Headers -----------------------------------------------
local hee = hea:option( DynamicList, "Access_Control_Expose_Headers" )
-hee.title = translate("Access-Control-Expose-Headers")
+hee.title = "Access-Control-Expose-Headers"
hee.description = nil
function hee.parse(self, section, novld)
CTRL.value_parse(self, section, novld)