From f70e7e959f054625bdd89a07fb37f6d94090ec53 Mon Sep 17 00:00:00 2001 From: CyberMind-FR Date: Fri, 30 Jan 2026 09:39:27 +0100 Subject: [PATCH] fix(crowdsec-dashboard): Add UCI ubus permissions to ACL Add ubus uci method permissions: - Read: get, state, configs - Write: set, add, delete, rename, order, commit, apply, confirm, rollback Fixes "Permission denied" error when saving theme settings. Co-Authored-By: Claude Opus 4.5 --- .../usr/share/rpcd/acl.d/luci-app-crowdsec-dashboard.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/secubox/luci-app-crowdsec-dashboard/root/usr/share/rpcd/acl.d/luci-app-crowdsec-dashboard.json b/package/secubox/luci-app-crowdsec-dashboard/root/usr/share/rpcd/acl.d/luci-app-crowdsec-dashboard.json index 1687bd09..23ebfc14 100644 --- a/package/secubox/luci-app-crowdsec-dashboard/root/usr/share/rpcd/acl.d/luci-app-crowdsec-dashboard.json +++ b/package/secubox/luci-app-crowdsec-dashboard/root/usr/share/rpcd/acl.d/luci-app-crowdsec-dashboard.json @@ -29,6 +29,7 @@ "capi_metrics", "hub_available" ], + "uci": [ "get", "state", "configs" ], "file": [ "read", "stat" ] }, "uci": [ "crowdsec", "crowdsec-dashboard" ] @@ -55,7 +56,8 @@ "reset_wizard", "install_hub_item", "remove_hub_item" - ] + ], + "uci": [ "set", "add", "delete", "rename", "order", "commit", "apply", "confirm", "rollback" ] }, "uci": [ "crowdsec", "crowdsec-dashboard" ] }