treewide: add ACL annotations to menu entries
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
01d8283ece
commit
8f34e105c0
50 changed files with 136 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
"path": "admin/services/adblock/overview"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-adblock" ],
|
||||
"fs": {
|
||||
"/usr/bin/adblock.sh": "executable",
|
||||
"/etc/init.d/adblock": "executable"
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
"action": {
|
||||
"type": "template",
|
||||
"path": "attendedsysupgrade"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "attendedsysupgrade" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,9 @@
|
|||
"type": "cbi",
|
||||
"path": "bcp38",
|
||||
"post": { "cbi.submit": true }
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-bcp38" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
"type": "cbi",
|
||||
"path": "clamav",
|
||||
"post": { "cbi.submit": true }
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-clamav" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,9 @@
|
|||
"type": "cbi",
|
||||
"path": "coovachilli",
|
||||
"post": { "cbi.submit": true }
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-coovachilli" ]
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
"post": { "cbi.submit": true }
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-dcwapd" ],
|
||||
"uci": { "dcwapd": true }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
"action": {
|
||||
"type": "view",
|
||||
"path": "ddns/overview"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-ddns" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
"post": { "cbi.submit": true }
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-dump1090" ],
|
||||
"uci": { "dump1090": true }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
"post": { "cbi.submit": true }
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-dynapoint" ],
|
||||
"uci": { "dynapoint": true }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
"path": "admin/network/firewall/zones"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-firewall" ],
|
||||
"fs": { "/sbin/fw3": "executable" },
|
||||
"uci": { "firewall": true }
|
||||
}
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
"action": {
|
||||
"type": "view",
|
||||
"path": "frpc"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-frpc" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
"action": {
|
||||
"type": "view",
|
||||
"path": "frps"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-frps" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
"post": { "cbi.submit": true }
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-fwknopd" ],
|
||||
"uci": { "fwknopd": true }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
"post": { "cbi.submit": true }
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-hd-idle" ],
|
||||
"uci": { "hd-idle": true }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
"path": "ksmbd"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-ksmbd" ],
|
||||
"uci": { "ksmbd": true }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
"path": "minidlna"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-minidlna" ],
|
||||
"uci": { "minidlna": true }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
"post": { "cbi.submit": true }
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-mjpg-streamer" ],
|
||||
"uci": { "mjpg-streamer": true }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
"type": "cbi",
|
||||
"path": "mosquitto",
|
||||
"post": { "cbi.submit": true }
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-mosquitto" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
"type": "firstchild"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-nextdns" ],
|
||||
"uci": { "nextdns": true }
|
||||
}
|
||||
},
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
"action": {
|
||||
"type": "template",
|
||||
"path": "noddos/clients"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-noddos" ]
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
"post": { "cbi.submit": true }
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-ntpc" ],
|
||||
"uci": { "ntpclient": true }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
"type": "firstchild"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-nut" ],
|
||||
"uci": [
|
||||
{ "nut_server": true },
|
||||
{ "nut_monitor": true },
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
"action": {
|
||||
"type": "view",
|
||||
"path": "opkg"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-opkg" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
"post": { "cbi.submit": true }
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-p910nd" ],
|
||||
"uci": { "p910nd": true }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
"path": "admin/services/polipo/config"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-polipo" ],
|
||||
"uci": { "polipo": true }
|
||||
}
|
||||
},
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
"post": { "cbi.submit": true }
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-qos" ],
|
||||
"uci": { "qos": true }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
"type": "firstchild"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-rosy-file-server" ],
|
||||
"uci": { "rosyfs": true }
|
||||
}
|
||||
},
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
"post": { "cbi.submit": true }
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-rp-pppoe-server" ],
|
||||
"uci": { "pppoe": true }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
"post": { "cbi.submit": true }
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-samba" ],
|
||||
"uci": { "samba": true }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
"path": "samba4"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-samba4" ],
|
||||
"uci": { "samba4": true }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
"type": "firstchild"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-ser2net" ],
|
||||
"uci": { "ser2net": true }
|
||||
}
|
||||
},
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
"order": 59,
|
||||
"action": {
|
||||
"type": "firstchild"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-shadowsocks-libev" ]
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
"post": { "cbi.submit": true }
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-shairplay" ],
|
||||
"uci": { "shairplay": true }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
"post": { "cbi.submit": true }
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-simple-adblock" ],
|
||||
"uci": { "simple-adblock": true }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
"type": "cbi",
|
||||
"path": "snmpd",
|
||||
"post": { "cbi.submit": true }
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-snmpd" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
"type": "cbi",
|
||||
"path": "squid",
|
||||
"post": { "cbi.submit": true }
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-squid" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
"type": "firstchild"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-openvpn" ],
|
||||
"uci": { "luci_statistics": true }
|
||||
}
|
||||
},
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
"type": "firstchild"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-tinyproxy" ],
|
||||
"uci": { "tinyproxy": true }
|
||||
}
|
||||
},
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
"type": "firstchild"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-ttyd" ],
|
||||
"uci": { "ttyd": true }
|
||||
}
|
||||
},
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
"post": { "cbi.submit": true }
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-udpxy" ],
|
||||
"uci": { "udpxy": true }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
"post": { "cbi.submit": true }
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-uhttpd" ],
|
||||
"uci": { "uhttpd": true }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
"path": "upnp/upnp"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-ddns" ],
|
||||
"uci": { "upnpd": true }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
"order": 90,
|
||||
"action": {
|
||||
"type": "firstchild"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-vnstat" ]
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
"type": "firstchild"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-vnstat2" ],
|
||||
"fs": {
|
||||
"/usr/bin/vnstat": "executable",
|
||||
"/usr/bin/vnstati": "executable"
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
"post": { "cbi.submit": true }
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-watchcat" ],
|
||||
"uci": { "system": true }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
"action": {
|
||||
"type": "view",
|
||||
"path": "wol"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-wol" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
"type": "firstchild"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-yggdrasil" ],
|
||||
"uci": { "yggdrasil": true }
|
||||
}
|
||||
},
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
"path": "network/switch"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-mod-network-config" ],
|
||||
"fs": { "/sbin/swconfig": "executable" },
|
||||
"uci": { "network": { "@switch": true } }
|
||||
}
|
||||
|
@ -20,6 +21,7 @@
|
|||
"path": "network/wireless"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-mod-network-config" ],
|
||||
"uci": { "wireless": { "@wifi-device": true } }
|
||||
}
|
||||
},
|
||||
|
@ -38,6 +40,9 @@
|
|||
"action": {
|
||||
"type": "view",
|
||||
"path": "network/interfaces"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-mod-network-config" ]
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -49,6 +54,7 @@
|
|||
"path": "network/dhcp"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-mod-network-dhcp" ],
|
||||
"uci": { "dhcp": true }
|
||||
}
|
||||
},
|
||||
|
@ -61,6 +67,7 @@
|
|||
"path": "network/hosts"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-mod-network-dhcp" ],
|
||||
"uci": { "dhcp": true }
|
||||
}
|
||||
},
|
||||
|
@ -71,6 +78,9 @@
|
|||
"action": {
|
||||
"type": "view",
|
||||
"path": "network/routes"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-mod-network-config" ]
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -80,6 +90,9 @@
|
|||
"action": {
|
||||
"type": "view",
|
||||
"path": "network/diagnostics"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-mod-network-diagnostics" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
"action": {
|
||||
"type": "template",
|
||||
"path": "admin_status/index"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-mod-status-index" ]
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -14,6 +17,9 @@
|
|||
"action": {
|
||||
"type": "view",
|
||||
"path": "status/iptables"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-mod-status-firewall" ]
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -23,6 +29,9 @@
|
|||
"action": {
|
||||
"type": "view",
|
||||
"path": "status/routes"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-mod-status-routes" ]
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -32,6 +41,9 @@
|
|||
"action": {
|
||||
"type": "view",
|
||||
"path": "status/syslog"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-mod-status-logs" ]
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -41,6 +53,9 @@
|
|||
"action": {
|
||||
"type": "view",
|
||||
"path": "status/dmesg"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-mod-status-logs" ]
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -50,6 +65,9 @@
|
|||
"action": {
|
||||
"type": "view",
|
||||
"path": "status/processes"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-mod-status-processes" ]
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -59,6 +77,9 @@
|
|||
"action": {
|
||||
"type": "alias",
|
||||
"path": "admin/status/realtime/load"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-mod-status-realtime" ]
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
"action": {
|
||||
"type": "view",
|
||||
"path": "system/system"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-mod-system-config" ]
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -13,6 +16,9 @@
|
|||
"order": 2,
|
||||
"action": {
|
||||
"type": "firstchild"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-mod-system-config", "luci-mod-system-ssh" ]
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -22,6 +28,9 @@
|
|||
"action": {
|
||||
"type": "view",
|
||||
"path": "system/password"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-mod-system-config" ]
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -33,6 +42,7 @@
|
|||
"path": "system/dropbear"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-mod-system-ssh" ],
|
||||
"uci": { "dropbear": true }
|
||||
}
|
||||
},
|
||||
|
@ -45,6 +55,7 @@
|
|||
"path": "system/sshkeys"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-mod-system-ssh" ],
|
||||
"uci": { "dropbear": true }
|
||||
}
|
||||
},
|
||||
|
@ -55,6 +66,9 @@
|
|||
"action": {
|
||||
"type": "view",
|
||||
"path": "system/startup"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-mod-system-init" ]
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -64,6 +78,9 @@
|
|||
"action": {
|
||||
"type": "view",
|
||||
"path": "system/crontab"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-mod-system-cron" ]
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -75,6 +92,7 @@
|
|||
"path": "system/mounts"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-mod-system-mounts" ],
|
||||
"fs": { "/sbin/block": "executable" }
|
||||
}
|
||||
},
|
||||
|
@ -87,6 +105,7 @@
|
|||
"path": "system/leds"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-mod-system-config" ],
|
||||
"fs": { "/sys/class/leds": "directory" }
|
||||
}
|
||||
},
|
||||
|
@ -97,6 +116,9 @@
|
|||
"action": {
|
||||
"type": "view",
|
||||
"path": "system/flash"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-mod-system-flash" ]
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -106,6 +128,9 @@
|
|||
"action": {
|
||||
"type": "view",
|
||||
"path": "system/reboot"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-mod-system-reboot" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue