secubox-openwrt/package/secubox/luci-app-metablogizer/root/usr/share/rpcd/acl.d/luci-app-metablogizer.json
CyberMind-FR df34698acb feat(metablogizer): Add LuCI Emancipate button with async workflow
- Add Emancipate button to dashboard sites table
- Implement async RPC with job polling to avoid XHR timeout
- Add emancipate + emancipate_status RPCD methods
- Add ACL permissions for new RPC methods
- Change HAProxy reload to restart for clean state
- Document RPCD ACL requirements in CLAUDE.md

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-06 08:52:53 +01:00

60 lines
1.1 KiB
JSON

{
"luci-app-metablogizer": {
"description": "Grant access to MetaBlogizer Static Site Publisher",
"read": {
"ubus": {
"luci.metablogizer": [
"status",
"list_sites",
"get_site",
"get_publish_info",
"get_settings",
"get_hosting_status",
"check_site_health",
"get_tor_status",
"discover_vhosts"
],
"file": ["read", "list", "stat"]
},
"uci": ["metablogizer"],
"file": {
"/srv/metablogizer/sites/*": ["read", "list"]
}
},
"write": {
"ubus": {
"luci.metablogizer": [
"create_site",
"update_site",
"delete_site",
"sync_site",
"save_settings",
"upload_file",
"upload_chunk",
"upload_finalize",
"list_files",
"repair_site",
"enable_tor",
"disable_tor",
"import_vhost",
"sync_config",
"emancipate",
"emancipate_status"
],
"luci.haproxy": [
"create_backend",
"create_server",
"create_vhost",
"delete_backend",
"delete_vhost"
],
"file": ["write", "remove"]
},
"uci": ["metablogizer"],
"file": {
"/srv/metablogizer/sites/*": ["write"]
}
}
}
}