summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-radicale/root
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-radicale/root')
-rwxr-xr-xapplications/luci-app-radicale/root/etc/uci-defaults/40_luci-radicale2
-rw-r--r--applications/luci-app-radicale/root/usr/share/rpcd/acl.d/luci-app-radicale.json11
2 files changed, 11 insertions, 2 deletions
diff --git a/applications/luci-app-radicale/root/etc/uci-defaults/40_luci-radicale b/applications/luci-app-radicale/root/etc/uci-defaults/40_luci-radicale
index 333ca65f45..a5064b520f 100755
--- a/applications/luci-app-radicale/root/etc/uci-defaults/40_luci-radicale
+++ b/applications/luci-app-radicale/root/etc/uci-defaults/40_luci-radicale
@@ -7,6 +7,4 @@ uci -q batch <<-EOF >/dev/null
commit ucitrack
EOF
-rm -f /tmp/luci-indexcache
-
exit 0
diff --git a/applications/luci-app-radicale/root/usr/share/rpcd/acl.d/luci-app-radicale.json b/applications/luci-app-radicale/root/usr/share/rpcd/acl.d/luci-app-radicale.json
new file mode 100644
index 0000000000..122c85630d
--- /dev/null
+++ b/applications/luci-app-radicale/root/usr/share/rpcd/acl.d/luci-app-radicale.json
@@ -0,0 +1,11 @@
+{
+ "luci-app-radicale": {
+ "description": "Grant UCI access for luci-app-radicale",
+ "read": {
+ "uci": [ "radicale" ]
+ },
+ "write": {
+ "uci": [ "radicale" ]
+ }
+ }
+}