secubox-openwrt/luci-app-secubox/root/usr/share/rpcd/acl.d/luci-app-secubox.json
CyberMind-FR 4a4e59dc63 fix: add UCI permissions to secubox ACL for settings page
Resolved RPC error "Permission denied" when accessing /admin/secubox/settings

Changes:
- Added UCI read permissions (get, state) to luci-app-secubox ACL
- Added UCI write permissions (set, delete, commit, apply) to luci-app-secubox ACL
- Added "secubox" to UCI config permissions (read and write)
- Added missing ksm_manager module to secubox config

The settings page requires UCI access to load and save the secubox configuration.
Without these permissions, users got "ubus code 6: Permission denied" errors.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-26 06:38:52 +01:00

47 lines
1.1 KiB
JSON

{
"luci-app-secubox": {
"description": "SecuBox Dashboard",
"read": {
"ubus": {
"luci.secubox": [
"status",
"modules",
"modules_by_category",
"module_info",
"health",
"diagnostics",
"get_system_health",
"get_alerts",
"get_dashboard_data"
],
"uci": [
"get",
"state"
]
},
"uci": [
"secubox"
]
},
"write": {
"ubus": {
"luci.secubox": [
"start_module",
"stop_module",
"restart_module",
"quick_action"
],
"uci": [
"set",
"delete",
"commit",
"apply"
]
},
"uci": [
"secubox"
]
}
}
}