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 <noreply@anthropic.com>
This commit is contained in:
CyberMind-FR 2026-01-30 09:39:27 +01:00
parent 8317ac354f
commit f70e7e959f

View File

@ -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" ]
}