secubox-openwrt/package/secubox/luci-app-mitmproxy/root/usr/share/rpcd/acl.d/luci-app-mitmproxy.json
CyberMind-FR 88e6d04f4e fix(mitmproxy): Add missing RPC methods to ACL permissions
The alerts, threat_stats, clear_alerts, haproxy_enable, haproxy_disable,
and sync_routes methods were not in the ACL file, causing permission
denied errors when calling them from LuCI.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 18:40:46 +01:00

31 lines
530 B
JSON

{
"luci-app-mitmproxy": {
"description": "Grant access to mitmproxy",
"read": {
"ubus": {
"luci.mitmproxy": ["status", "settings", "alerts", "threat_stats"]
},
"uci": ["mitmproxy"]
},
"write": {
"ubus": {
"luci.mitmproxy": [
"install",
"start",
"stop",
"restart",
"save_settings",
"set_mode",
"setup_firewall",
"clear_firewall",
"clear_alerts",
"haproxy_enable",
"haproxy_disable",
"sync_routes"
]
},
"uci": ["mitmproxy"]
}
}
}