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:
parent
ab44a306f3
commit
8be28001d7
@ -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" ]
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user