summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/root/usr/share
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-09-12 18:48:58 +0200
committerJo-Philipp Wich <jo@mein.io>2019-09-12 18:48:58 +0200
commit0e5be0d68a9daac7d2b04f23bc1e18935cb80145 (patch)
tree610c31d384c02c482698b92a03826d93938477b7 /modules/luci-base/root/usr/share
parent8178ac15b672870d3143bff84c37bbeb92e23f2d (diff)
luci-mod-system: reimplent system/crontab as client side view
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/root/usr/share')
-rw-r--r--modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json b/modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json
index f2ee7ce2c3..d364508c27 100644
--- a/modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json
+++ b/modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json
@@ -23,6 +23,7 @@
"file": {
"/": [ "list" ],
"/*": [ "list" ],
+ "/etc/crontabs/root": [ "read" ],
"/etc/rc.local": [ "read" ],
"/proc/sys/kernel/hostname": [ "read" ]
},
@@ -40,6 +41,7 @@
"write": {
"cgi-io": [ "upload", "/etc/luci-uploads/*" ],
"file": {
+ "/etc/crontabs/root": [ "write" ],
"/etc/luci-uploads/*": [ "write" ],
"/etc/rc.local": [ "write" ]
},