64 lines
1.5 KiB
JSON
64 lines
1.5 KiB
JSON
{
|
|
"unauthenticated": {
|
|
"description": "Allow system feature probing",
|
|
"read": {
|
|
"ubus": {
|
|
"luci": [ "getFeatures" ]
|
|
}
|
|
}
|
|
},
|
|
|
|
"uci-access": {
|
|
"description": "Grant uci write access to all configurations",
|
|
"read": {
|
|
"uci": [ "*" ]
|
|
},
|
|
"write": {
|
|
"uci": [ "*" ]
|
|
}
|
|
},
|
|
"luci-access": {
|
|
"description": "Grant access to basic LuCI procedures",
|
|
"read": {
|
|
"file": {
|
|
"/": [ "list" ],
|
|
"/*": [ "list" ]
|
|
},
|
|
"ubus": {
|
|
"file": [ "list", "stat" ],
|
|
"iwinfo": [ "assoclist", "freqlist", "txpowerlist", "countrylist" ],
|
|
"luci": [ "getBoardJSON", "getDUIDHints", "getHostHints", "getIfaddrs", "getInitList", "getLocaltime", "getTimezones", "getDHCPLeases", "getLEDs", "getNetworkDevices", "getUSBDevices", "getHostname", "getWirelessDevices" ],
|
|
"network.device": [ "status" ],
|
|
"network.interface": [ "dump" ],
|
|
"network": [ "get_proto_handlers" ],
|
|
"uci": [ "changes", "get" ]
|
|
},
|
|
"uci": [ "*" ]
|
|
},
|
|
"write": {
|
|
"cgi-io": [ "upload", "/etc/luci-uploads/*" ],
|
|
"file": {
|
|
"/etc/luci-uploads/*": [ "write" ]
|
|
},
|
|
"ubus": {
|
|
"file": [ "remove" ],
|
|
"iwinfo": [ "scan" ],
|
|
"luci": [ "setInitAction", "setLocaltime" ],
|
|
"uci": [ "add", "apply", "confirm", "delete", "order", "set", "rename" ]
|
|
},
|
|
"uci": [ "*" ]
|
|
}
|
|
},
|
|
"luci-app-firewall": {
|
|
"description": "Grant access to firewall procedures",
|
|
"read": {
|
|
"ubus": {
|
|
"luci": [ "getConntrackHelpers" ]
|
|
},
|
|
"uci": [ "firewall" ]
|
|
},
|
|
"write": {
|
|
"uci": [ "firewall" ]
|
|
}
|
|
}
|
|
}
|