secubox-openwrt/package/secubox/luci-app-droplet/root/usr/share/rpcd/acl.d/luci-app-droplet.json
CyberMind-FR e1f2a0e885 feat(droplet): Implement async publish to prevent UI timeout
- RPCD handler returns immediately with job_id (~0.04s)
- Background script uses file output to avoid pipe inheritance issues
- LuCI JS polls job_status every 2s until completion
- Uses setsid for proper process detachment
- jsonfilter for reliable parameter parsing

Fixes "Failed to publish" error caused by ubus timeout during
40+ second publish operations.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-17 09:43:19 +01:00

17 lines
372 B
JSON

{
"luci-app-droplet": {
"description": "Droplet Publisher",
"read": {
"ubus": {
"luci.droplet": ["status", "list", "job_status"]
}
},
"write": {
"ubus": {
"luci.droplet": ["upload", "remove", "rename"]
},
"cgi-io": ["upload"]
}
}
}