Removes mandatory UCI config dependencies from dashboard modules to allow LuCI menus to display even when backend services are not installed. This fixes 'Permission denied' errors when accessing dashboards for services that haven't been installed yet (crowdsec, netdata, netifyd, etc.). Changes: - Remove uci dependency: crowdsec-dashboard, netdata-dashboard - Remove uci dependency: netifyd-dashboard, wireguard-dashboard - Remove uci dependency: client-guardian, media-flow - Remove uci dependency: network-modes, traffic-shaper Dashboards will now gracefully handle missing backend services and can guide users to install required packages. Related: SecuBox menu organization (v0.1.2-alpha)
53 lines
985 B
JSON
53 lines
985 B
JSON
{
|
|
"admin/secubox/monitoring/mediaflow": {
|
|
"title": "Media Flow",
|
|
"order": 30,
|
|
"action": {
|
|
"type": "firstchild"
|
|
},
|
|
"depends": {
|
|
"acl": ["luci-app-media-flow"]
|
|
}
|
|
},
|
|
"admin/secubox/monitoring/mediaflow/dashboard": {
|
|
"title": "Dashboard",
|
|
"order": 10,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "media-flow/dashboard"
|
|
}
|
|
},
|
|
"admin/secubox/monitoring/mediaflow/services": {
|
|
"title": "Services",
|
|
"order": 20,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "media-flow/services"
|
|
}
|
|
},
|
|
"admin/secubox/monitoring/mediaflow/clients": {
|
|
"title": "Clients",
|
|
"order": 30,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "media-flow/clients"
|
|
}
|
|
},
|
|
"admin/secubox/monitoring/mediaflow/history": {
|
|
"title": "History",
|
|
"order": 40,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "media-flow/history"
|
|
}
|
|
},
|
|
"admin/secubox/monitoring/mediaflow/alerts": {
|
|
"title": "Alerts",
|
|
"order": 50,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "media-flow/alerts"
|
|
}
|
|
}
|
|
}
|