Updated ACL permissions for 4 modules to use correct ubus object names with the mandatory 'luci.' prefix: - luci-app-auth-guardian: auth-guardian → luci.auth-guardian - luci-app-netifyd-dashboard: netifyd → luci.netifyd-dashboard - luci-app-network-modes: network-modes → luci.network-modes - luci-app-wireguard-dashboard: wireguard-dashboard → luci.wireguard-dashboard Also updated method names and UCI config references to match current RPCD backend implementations. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
36 lines
689 B
JSON
36 lines
689 B
JSON
{
|
|
"luci-app-wireguard-dashboard": {
|
|
"description": "Grant access to LuCI WireGuard Dashboard",
|
|
"read": {
|
|
"ubus": {
|
|
"luci.wireguard-dashboard": [
|
|
"status",
|
|
"get_interfaces",
|
|
"get_peers",
|
|
"config",
|
|
"traffic"
|
|
],
|
|
"system": [ "info", "board" ],
|
|
"file": [ "read", "stat", "exec" ]
|
|
},
|
|
"uci": [ "network", "wireguard-dashboard" ],
|
|
"file": {
|
|
"/etc/config/network": [ "read" ],
|
|
"/usr/bin/wg": [ "exec" ]
|
|
}
|
|
},
|
|
"write": {
|
|
"ubus": {
|
|
"luci.wireguard-dashboard": [
|
|
"generate_keys",
|
|
"add_peer",
|
|
"remove_peer",
|
|
"generate_config",
|
|
"generate_qr"
|
|
]
|
|
},
|
|
"uci": [ "wireguard-dashboard" ]
|
|
}
|
|
}
|
|
}
|