secubox-openwrt/luci-app-network-modes/root/usr/share/rpcd/acl.d/luci-app-network-modes.json
CyberMind-FR 1122f84e58 fix: Update ACL files to use proper luci.* ubus object naming
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>
2025-12-26 21:54:00 +01:00

34 lines
752 B
JSON

{
"luci-app-network-modes": {
"description": "Grant access to LuCI Network Modes Dashboard",
"read": {
"ubus": {
"luci.network-modes": [
"status",
"get_current_mode",
"get_available_modes",
"get_interfaces",
"validate_config"
],
"system": [ "info", "board" ],
"network.interface": [ "status", "dump" ],
"iwinfo": [ "info", "scan" ],
"file": [ "read", "stat" ]
},
"uci": [ "network", "wireless", "firewall", "dhcp", "network-modes" ],
"file": {
"/etc/config/*": [ "read" ],
"/sys/class/net/*": [ "read" ]
}
},
"write": {
"ubus": {
"luci.network-modes": [
"set_mode"
]
},
"uci": [ "network", "wireless", "firewall", "dhcp", "network-modes" ]
}
}
}