fix(crowdsec-dashboard): Add ACL permissions for settings methods
Add get_settings to read permissions and save_settings to write permissions to fix RPC access denied error (-32002) on the settings page. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
45f222e72c
commit
931c4b1dfc
@ -27,7 +27,8 @@
|
||||
"acquisition_metrics",
|
||||
"health_check",
|
||||
"capi_metrics",
|
||||
"hub_available"
|
||||
"hub_available",
|
||||
"get_settings"
|
||||
],
|
||||
"uci": [ "get", "state", "configs" ],
|
||||
"file": [ "read", "stat", "exec" ]
|
||||
@ -55,7 +56,8 @@
|
||||
"configure_acquisition",
|
||||
"reset_wizard",
|
||||
"install_hub_item",
|
||||
"remove_hub_item"
|
||||
"remove_hub_item",
|
||||
"save_settings"
|
||||
],
|
||||
"uci": [ "set", "add", "delete", "rename", "order", "commit", "apply", "confirm", "rollback" ],
|
||||
"file": [ "exec" ]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user