luci/modules/luci-mod-dashboard/root/usr/share/rpcd/acl.d/luci-mod-dashboard.json
Zhao ZHANG 2f32ddd603 luci-mod-dashboard: initial checkin
Signed-off-by: ZHANG Zhao <Zhao.Zhang2@etu.univ-grenoble-alpes.fr>
[improve firmware version, fix dependencies, clean acls]
Signed-off-by: Paul Spooren <mail@aparcar.org>
[fix css for themes other than bootstrap]
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-03 10:12:44 -10:00

41 lines
764 B
JSON

{
"luci-mod-dashboard-routes": {
"description": "Grant access to the system route status",
"read": {
"ubus": {
"file": [ "exec" ]
}
}
},
"luci-mod-dashboard-index": {
"description": "Grant access to main status display",
"read": {
"file": {
"/www/luci-static/resources/view/status/include": [ "list" ]
},
"ubus": {
"file": [ "list", "read" ],
"system": [ "board", "info" ]
}
}
},
"luci-mod-dashboard-index-dhcp": {
"description": "Grant access to DHCP status display",
"read": {
"ubus": {
"luci-rpc": [ "getDHCPLeases" ]
}
}
},
"luci-mod-dashboard-index-wifi": {
"description": "Grant access to wireless status display",
"read": {
"ubus": {
"iwinfo": [ "assoclist" ]
}
}
}
}