secubox-openwrt/package/secubox/luci-app-cloner/root/usr/share/rpcd/acl.d/luci-app-cloner.json
CyberMind-FR c5c488b7cb feat(cloner): Add OpenWrt version selection and package profiles to image builder
- Add --version and --profile CLI options to secubox-cloner build command
- Add versions command to list available OpenWrt releases (24.10.5, 24.10.0, 23.05.5, 23.05.4)
- Add package profiles: slim (minimal), core (mesh essentials), full (clone current device)
- Add list_versions and list_build_profiles RPCD methods for LuCI
- Update build_image RPCD to accept version and profile parameters
- Update ACL permissions for new read methods

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-25 09:28:20 +01:00

30 lines
1.0 KiB
JSON

{
"luci-app-cloner": {
"description": "Grant access to SecuBox Cloning Station",
"read": {
"ubus": {
"luci.cloner": [
"status", "list_images", "list_tokens", "list_clones", "list_devices",
"list_versions", "list_build_profiles",
"build_progress", "build_log", "serial_ports", "serial_read",
"history_list", "storage_info", "image_details",
"list_remotes", "remote_status", "scan_network",
"pending_devices", "inventory", "list_profiles", "discovery_status", "remote_flash_status"
]
}
},
"write": {
"ubus": {
"luci.cloner": [
"generate_token", "build_image", "tftp_start", "tftp_stop",
"delete_token", "delete_image", "serial_start", "serial_stop", "serial_write",
"history_add", "history_clear", "image_rename",
"add_remote", "remove_remote", "remote_upload", "remote_flash",
"approve_device", "reject_device", "bulk_tokens",
"import_preregistered", "toggle_discovery", "remote_prepare_flash", "remote_confirm_flash", "remote_cancel_flash"
]
}
}
}
}