treewide: add ACL annotations to menu entries
authorJo-Philipp Wich <jo@mein.io>
Fri, 17 Apr 2020 10:14:50 +0000 (12:14 +0200)
committerJo-Philipp Wich <jo@mein.io>
Fri, 17 Apr 2020 10:40:31 +0000 (12:40 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
50 files changed:
applications/luci-app-adblock/root/usr/share/luci/menu.d/luci-app-adblock.json
applications/luci-app-attendedsysupgrade/root/usr/share/luci/menu.d/luci-app-attendedsysupgrade.json
applications/luci-app-bcp38/root/usr/share/luci/menu.d/luci-app-bcp38.json
applications/luci-app-clamav/root/usr/share/luci/menu.d/luci-app-clamav.json
applications/luci-app-coovachilli/root/usr/share/luci/menu.d/luci-app-coovachilli.json
applications/luci-app-dcwapd/root/usr/share/luci/menu.d/luci-app-dcwapd.json
applications/luci-app-ddns/root/usr/share/luci/menu.d/luci-app-ddns.json
applications/luci-app-dump1090/root/usr/share/luci/menu.d/luci-app-dump1090.json
applications/luci-app-dynapoint/root/usr/share/luci/menu.d/luci-app-dynapoint.json
applications/luci-app-firewall/root/usr/share/luci/menu.d/luci-app-firewall.json
applications/luci-app-frpc/root/usr/share/luci/menu.d/luci-app-frpc.json
applications/luci-app-frps/root/usr/share/luci/menu.d/luci-app-frps.json
applications/luci-app-fwknopd/root/usr/share/luci/menu.d/luci-app-fwknopd.json
applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json
applications/luci-app-ksmbd/root/usr/share/luci/menu.d/luci-app-ksmbd.json
applications/luci-app-minidlna/root/usr/share/luci/menu.d/luci-app-minidlna.json
applications/luci-app-mjpg-streamer/root/usr/share/luci/menu.d/luci-app-mjpg-streamer.json
applications/luci-app-mosquitto/root/usr/share/luci/menu.d/luci-app-mosquitto.json
applications/luci-app-nextdns/root/usr/share/luci/menu.d/luci-app-nextdns.json
applications/luci-app-noddos/root/usr/share/luci/menu.d/luci-app-noddos.json
applications/luci-app-ntpc/root/usr/share/luci/menu.d/luci-app-ntpc.json
applications/luci-app-nut/root/usr/share/luci/menu.d/luci-app-nut.json
applications/luci-app-opkg/root/usr/share/luci/menu.d/luci-app-opkg.json
applications/luci-app-p910nd/root/usr/share/luci/menu.d/luci-app-p910nd.json
applications/luci-app-polipo/root/usr/share/luci/menu.d/luci-app-polipo.json
applications/luci-app-qos/root/usr/share/luci/menu.d/luci-app-qos.json
applications/luci-app-rosy-file-server/root/usr/share/luci/menu.d/luci-app-rosy-file-server.json
applications/luci-app-rp-pppoe-server/root/usr/share/luci/menu.d/luci-app-rp-pppoe-server.json
applications/luci-app-samba/root/usr/share/luci/menu.d/luci-app-samba.json
applications/luci-app-samba4/root/usr/share/luci/menu.d/luci-app-samba4.json
applications/luci-app-ser2net/root/usr/share/luci/menu.d/luci-app-ser2net.json
applications/luci-app-shadowsocks-libev/root/usr/share/luci/menu.d/luci-app-shadowsocks-libev.json
applications/luci-app-shairplay/root/usr/share/luci/menu.d/luci-app-shairplay.json
applications/luci-app-simple-adblock/root/usr/share/luci/menu.d/luci-app-simple-adblock.json
applications/luci-app-snmpd/root/usr/share/luci/menu.d/luci-app-snmpd.json
applications/luci-app-squid/root/usr/share/luci/menu.d/luci-app-squid.json
applications/luci-app-statistics/root/usr/share/luci/menu.d/luci-app-statistics.json
applications/luci-app-tinyproxy/root/usr/share/luci/menu.d/luci-app-tinyproxy.json
applications/luci-app-ttyd/root/usr/share/luci/menu.d/luci-app-ttyd.json
applications/luci-app-udpxy/root/usr/share/luci/menu.d/luci-app-udpxy.json
applications/luci-app-uhttpd/root/usr/share/luci/menu.d/luci-app-uhttpd.json
applications/luci-app-upnp/root/usr/share/luci/menu.d/luci-app-upnp.json
applications/luci-app-vnstat/root/usr/share/luci/menu.d/luci-app-vnstat.json
applications/luci-app-vnstat2/root/usr/share/luci/menu.d/luci-app-vnstat2.json
applications/luci-app-watchcat/root/usr/share/luci/menu.d/luci-app-watchcat.json
applications/luci-app-wol/root/usr/share/luci/menu.d/luci-app-wol.json
applications/luci-app-yggdrasil/root/usr/share/luci/menu.d/luci-app-yggdrasil.json
modules/luci-mod-network/root/usr/share/luci/menu.d/luci-mod-network.json
modules/luci-mod-status/root/usr/share/luci/menu.d/luci-mod-status.json
modules/luci-mod-system/root/usr/share/luci/menu.d/luci-mod-system.json

index 6faede5b1484ff2fc98adc0d05892a0cf4df3619..9f2659c1da86181e0b24332504e7b998cce6f6cf 100644 (file)
@@ -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"
index 2cb7cb965ba74e71e0a5258e8d19d4c590c1b0ac..79d82a828f59fc974a524a305bac1ec4be0a8bdc 100644 (file)
@@ -5,6 +5,9 @@
                "action": {
                        "type": "template",
                        "path": "attendedsysupgrade"
+               },
+               "depends": {
+                       "acl": [ "attendedsysupgrade" ]
                }
        }
 }
index f85d69d48ab49d9f42981134fe1f9feaae3eb2fa..e83ad69b3c56d00c6d4feaf29b92b2081629cb0f 100644 (file)
@@ -6,6 +6,9 @@
                        "type": "cbi",
                        "path": "bcp38",
                        "post": { "cbi.submit": true }
+               },
+               "depends": {
+                       "acl": [ "luci-app-bcp38" ]
                }
        }
 }
index 351701a7f82d4f5a7555aa6374ba31af8d77be81..e0426b6155de222b9637085f6b8fc3c68b76a0ab 100644 (file)
@@ -5,6 +5,9 @@
                        "type": "cbi",
                        "path": "clamav",
                        "post": { "cbi.submit": true }
+               },
+               "depends": {
+                       "acl": [ "luci-app-clamav" ]
                }
        }
 }
index d7da7cad1300ba731102d9f1ce01ddad31aba7e1..5178a59894bd20e31e21fa9d8fa20b5250f8f751 100644 (file)
@@ -6,6 +6,9 @@
                        "type": "cbi",
                        "path": "coovachilli",
                        "post": { "cbi.submit": true }
+               },
+               "depends": {
+                       "acl": [ "luci-app-coovachilli" ]
                }
        },
 
index 30ed4c5d9d3a8cc2de038a5a2c51100db7951635..40946b51368431601383cdb2ef9e070938219170 100644 (file)
@@ -7,6 +7,7 @@
                        "post": { "cbi.submit": true }
                },
                "depends": {
+                       "acl": [ "luci-app-dcwapd" ],
                        "uci": { "dcwapd": true }
                }
        }
index ec6d46f8bbaff509bec21738895d95580e263439..6a7ee9a09616f31c0941e9a2b073aeb286661922 100644 (file)
@@ -5,6 +5,9 @@
                "action": {
                        "type": "view",
                        "path": "ddns/overview"
+               },
+               "depends": {
+                       "acl": [ "luci-app-ddns" ]
                }
        }
 }
index 4e68dde1c555abf98a913737ab1fa2bada6a21cd..027a817745e7f6bcdec793a846bf0ee80a08afb0 100644 (file)
@@ -7,6 +7,7 @@
                        "post": { "cbi.submit": true }
                },
                "depends": {
+                       "acl": [ "luci-app-dump1090" ],
                        "uci": { "dump1090": true }
                }
        }
index ed19ba682f60e72a472c495298df0c57ca498e44..4b01af734e185cb23837548124ac3359521c369e 100644 (file)
@@ -7,6 +7,7 @@
                        "post": { "cbi.submit": true }
                },
                "depends": {
+                       "acl": [ "luci-app-dynapoint" ],
                        "uci": { "dynapoint": true }
                }
        }
index 35c7c62c4ce3858ddbf15e38ac3f50eee25b1192..f8a3553a7bd20ef7ba50bda90e091eeffccfc015 100644 (file)
@@ -7,6 +7,7 @@
                        "path": "admin/network/firewall/zones"
                },
                "depends": {
+                       "acl": [ "luci-app-firewall" ],
                        "fs": { "/sbin/fw3": "executable" },
                        "uci": { "firewall": true }
                }
index 26a0f2b1cfe74b3df87afd056dcb6209767e4316..f6eaf4a9b76067a72cf408cda15ac9cd2b619dba 100644 (file)
@@ -4,6 +4,9 @@
                "action": {
                        "type": "view",
                        "path": "frpc"
+               },
+               "depends": {
+                       "acl": [ "luci-app-frpc" ]
                }
        }
 }
index 3b871145158c4fd91cf85fc62972ca2ebe789177..448cb7a4eb22e207a2ba8a118bd6df468e7dcb84 100644 (file)
@@ -4,6 +4,9 @@
                "action": {
                        "type": "view",
                        "path": "frps"
+               },
+               "depends": {
+                       "acl": [ "luci-app-frps" ]
                }
        }
 }
index 6dd26b9ac8497cfa8c9f085b70adabb0cf76d4bd..85486b997e96112ccb9ad7e8044b8f6ed9af7a1e 100644 (file)
@@ -7,6 +7,7 @@
                        "post": { "cbi.submit": true }
                },
                "depends": {
+                       "acl": [ "luci-app-fwknopd" ],
                        "uci": { "fwknopd": true }
                }
        }
index 84a6445ba6a7227aada7aba93a6fa74d6ac4ecf2..3d84d19ee17851c2c910bcf511c02cc41ae6dee1 100644 (file)
@@ -8,6 +8,7 @@
                        "post": { "cbi.submit": true }
                },
                "depends": {
+                       "acl": [ "luci-app-hd-idle" ],
                        "uci": { "hd-idle": true }
                }
        }
index 46202c22e4779e65010567760340d336121c1b85..17677a5de7714fb3d83c7764bed0b3f510144898 100644 (file)
@@ -6,6 +6,7 @@
                        "path": "ksmbd"
                },
                "depends": {
+                       "acl": [ "luci-app-ksmbd" ],
                        "uci": { "ksmbd": true }
                }
        }
index ddb4129b4561e307fd6d96b68dd24fba1876d71b..7422e4e20087d20b5f079cadb6150dc88d0aa033 100644 (file)
@@ -6,6 +6,7 @@
                        "path": "minidlna"
                },
                "depends": {
+                       "acl": [ "luci-app-minidlna" ],
                        "uci": { "minidlna": true }
                }
        }
index 1e7c5e80d2f9fba41f296f0e4fd4cf1ba98dad4c..6f79358e498d0d6bb37867c9b2b56f02ab18a0a5 100644 (file)
@@ -7,6 +7,7 @@
                        "post": { "cbi.submit": true }
                },
                "depends": {
+                       "acl": [ "luci-app-mjpg-streamer" ],
                        "uci": { "mjpg-streamer": true }
                }
        }
index 37870b3790b0617b2f21143bb5421df650f2f2ec..66f82b8820570ababa755785724c8b36cd308573 100644 (file)
@@ -5,6 +5,9 @@
                        "type": "cbi",
                        "path": "mosquitto",
                        "post": { "cbi.submit": true }
+               },
+               "depends": {
+                       "acl": [ "luci-app-mosquitto" ]
                }
        }
 }
index 18255ced9c9d8e57e91e1f41b15cf6e55b423875..fb9cb7e3fbee30a7580119cdcc9edf5233f92b87 100644 (file)
@@ -6,6 +6,7 @@
                        "type": "firstchild"
                },
                "depends": {
+                       "acl": [ "luci-app-nextdns" ],
                        "uci": { "nextdns": true }
                }
        },
index 05052f5e0472160c5282fbfce20d968c9b39c5eb..a2d209e3705469087f5aec35ad07a8d91ce6e62b 100644 (file)
@@ -5,6 +5,9 @@
                "action": {
                        "type": "template",
                        "path": "noddos/clients"
+               },
+               "depends": {
+                       "acl": [ "luci-app-noddos" ]
                }
        },
 
index 360d72159812e7c971aec612c7095e6153adc14c..bec35c88cfc4dabadc3cd54efe0b21c71cb3bf6c 100644 (file)
@@ -8,6 +8,7 @@
                        "post": { "cbi.submit": true }
                },
                "depends": {
+                       "acl": [ "luci-app-ntpc" ],
                        "uci": { "ntpclient": true }
                }
        }
index f2cd6e78534942265703dc736256493e070552e2..e19143eb1bb9dc2e1cf6184f7b98134a02509ac9 100644 (file)
@@ -5,6 +5,7 @@
                        "type": "firstchild"
                },
                "depends": {
+                       "acl": [ "luci-app-nut" ],
                        "uci": [
                                { "nut_server": true },
                                { "nut_monitor": true },
index 8632a41b3ea6ddc2d539a050ed51b87badf984c2..3d06a257cb50117db22fa5e298aa4dce124a3709 100644 (file)
@@ -5,6 +5,9 @@
                "action": {
                        "type": "view",
                        "path": "opkg"
+               },
+               "depends": {
+                       "acl": [ "luci-app-opkg" ]
                }
        }
 }
index 33fcda6e49a60906741d21383e64dd056faca1f8..4f3cb810c6e3cfff6faf44bd538185cf849daf88 100644 (file)
@@ -8,6 +8,7 @@
                        "post": { "cbi.submit": true }
                },
                "depends": {
+                       "acl": [ "luci-app-p910nd" ],
                        "uci": { "p910nd": true }
                }
        }
index 6fea92d283b8876077b235b20dd79831a3c3d100..9779bc0e6146cd338e27a3cc7630e3aa27244e2a 100644 (file)
@@ -6,6 +6,7 @@
                        "path": "admin/services/polipo/config"
                },
                "depends": {
+                       "acl": [ "luci-app-polipo" ],
                        "uci": { "polipo": true }
                }
        },
index 90ce20de0ac17a5bbded24ab19ae0e9462ecdcf4..07226024cbb17711520cd37d3cd63e12b7508a44 100644 (file)
@@ -7,6 +7,7 @@
                        "post": { "cbi.submit": true }
                },
                "depends": {
+                       "acl": [ "luci-app-qos" ],
                        "uci": { "qos": true }
                }
        }
index 03e7fd0f4a56461d881bd7fdcd939a97672ea01b..c0a466576d4b7063c27dfe9e54e1f85f10c740e9 100644 (file)
@@ -8,6 +8,7 @@
                        "type": "firstchild"
                },
                "depends": {
+                       "acl": [ "luci-app-rosy-file-server" ],
                        "uci": { "rosyfs": true }
                }
        },
index 2d964285a6d4123417d541dcdbcd4410cdaaf6f4..b58ab6394ee6da95dc1e97095f0c860d2dff8cc4 100644 (file)
@@ -7,6 +7,7 @@
                        "post": { "cbi.submit": true }
                },
                "depends": {
+                       "acl": [ "luci-app-rp-pppoe-server" ],
                        "uci": { "pppoe": true }
                }
        }
index 27affd4f02be3cec4a659aba9ca5bc7bb038c122..1c38f510b35ce7724df9a882f2b1b4db80236de7 100644 (file)
@@ -7,6 +7,7 @@
                        "post": { "cbi.submit": true }
                },
                "depends": {
+                       "acl": [ "luci-app-samba" ],
                        "uci": { "samba": true }
                }
        }
index 74be4ed11d92b378effaaefa4dca4929dda56e31..81897f188fffd1ca8c0d40fb7313ea61955e836d 100644 (file)
@@ -6,6 +6,7 @@
                        "path": "samba4"
                },
                "depends": {
+                       "acl": [ "luci-app-samba4" ],
                        "uci": { "samba4": true }
                }
        }
index e05a30b935a322d36fc8bc0e6964b9262428d10c..cb4da0270ab87891f8fef195eaea0632e4d2e5d9 100644 (file)
@@ -5,6 +5,7 @@
                        "type": "firstchild"
                },
                "depends": {
+                       "acl": [ "luci-app-ser2net" ],
                        "uci": { "ser2net": true }
                }
        },
index afa8f44e3cd2d89c433f9a8fb6f65c760d21ce64..aa29113fe03eb667ad31327a2ec35afebaafa290 100644 (file)
@@ -4,6 +4,9 @@
                "order": 59,
                "action": {
                        "type": "firstchild"
+               },
+               "depends": {
+                       "acl": [ "luci-app-shadowsocks-libev" ]
                }
        },
 
index fae7319459b8bae73ae6627e88e56f6b6632ab5b..46cf40d60cadfa377a20f5c929f95d8f1c98e202 100644 (file)
@@ -7,6 +7,7 @@
                        "post": { "cbi.submit": true }
                },
                "depends": {
+                       "acl": [ "luci-app-shairplay" ],
                        "uci": { "shairplay": true }
                }
        }
index 09f4a3c0f061ba52d518bc186586013a8f412b2f..e640dbb8714469c76ebf687dfd156085dfd7d0fc 100644 (file)
@@ -7,6 +7,7 @@
                        "post": { "cbi.submit": true }
                },
                "depends": {
+                       "acl": [ "luci-app-simple-adblock" ],
                        "uci": { "simple-adblock": true }
                }
        }
index 22d29c9f65f0eb10d343771f7898c1c8a4f9fcc4..c30f35fa423c51ca811a5feb8f2ef6091facab45 100644 (file)
@@ -5,6 +5,9 @@
                        "type": "cbi",
                        "path": "snmpd",
                        "post": { "cbi.submit": true }
+               },
+               "depends": {
+                       "acl": [ "luci-app-snmpd" ]
                }
        }
 }
index b71648b69c6681f07d9de737bf4cce37c80b7645..15a0d3c4d44ca96e864b99fd8d0bac7e5ea3efc2 100644 (file)
@@ -5,6 +5,9 @@
                        "type": "cbi",
                        "path": "squid",
                        "post": { "cbi.submit": true }
+               },
+               "depends": {
+                       "acl": [ "luci-app-squid" ]
                }
        }
 }
index 4a14b6954cf6da2470c5756cee2e191dfd7c4d3f..881021a59598786c85dd560c881a87b023ef6672 100644 (file)
@@ -6,6 +6,7 @@
                        "type": "firstchild"
                },
                "depends": {
+                       "acl": [ "luci-app-openvpn" ],
                        "uci": { "luci_statistics": true }
                }
        },
index e89c140e39d5e3aeaa0dbabe0d7c8219a85930d6..1d7ea3dc59dafd9f9dba74f83a5001b2122d4237 100644 (file)
@@ -5,6 +5,7 @@
                        "type": "firstchild"
                },
                "depends": {
+                       "acl": [ "luci-app-tinyproxy" ],
                        "uci": { "tinyproxy": true }
                }
        },
index cc8b3f14625afac22248c194ed384b94e89515c1..f76f9cfaa2f9a0a49d659ed5b40772887f8c6c20 100644 (file)
@@ -5,6 +5,7 @@
                        "type": "firstchild"
                },
                "depends": {
+                       "acl": [ "luci-app-ttyd" ],
                        "uci": { "ttyd": true }
                }
        },
index 5f6a5583a51e0c29eb1bc29daacfffc07eb5fa9e..c0171a13fe09028547517750f017366699089c76 100644 (file)
@@ -7,6 +7,7 @@
                        "post": { "cbi.submit": true }
                },
                "depends": {
+                       "acl": [ "luci-app-udpxy" ],
                        "uci": { "udpxy": true }
                }
        }
index 44619ad067a409021cce6c046a3b42487844dfa5..db3be65088b2df77a20c11bdcae29ed710b70fb5 100644 (file)
@@ -7,6 +7,7 @@
                        "post": { "cbi.submit": true }
                },
                "depends": {
+                       "acl": [ "luci-app-uhttpd" ],
                        "uci": { "uhttpd": true }
                }
        }
index 7fdf67dcc81e0cd119d9d4b9d0c863b375b13860..63a5c592f93c74fed9d8b6a557020a4140ca57b6 100644 (file)
@@ -6,6 +6,7 @@
                        "path": "upnp/upnp"
                },
                "depends": {
+                       "acl": [ "luci-app-ddns" ],
                        "uci": { "upnpd": true }
                }
        }
index 5b92e239c99946c9d1fb4db5f903704e4a203677..6433bff745ee04fbeff449628203cea0c59f5597 100644 (file)
@@ -4,6 +4,9 @@
                "order": 90,
                "action": {
                        "type": "firstchild"
+               },
+               "depends": {
+                       "acl": [ "luci-app-vnstat" ]
                }
        },
 
index 0b3303c360c48f34f8112f85a74b831b6494fc12..4aa9dd2aa05f4d41da2fe876054fb0c974b19343 100644 (file)
@@ -6,6 +6,7 @@
                        "type": "firstchild"
                },
                "depends": {
+                       "acl": [ "luci-app-vnstat2" ],
                        "fs": {
                                "/usr/bin/vnstat": "executable",
                                "/usr/bin/vnstati": "executable"
index d1eba7b438033653a4288c9c26054cdba41ca891..80f141acd6e410671efc2d6814d65f977eda7f5c 100644 (file)
@@ -8,6 +8,7 @@
                        "post": { "cbi.submit": true }
                },
                "depends": {
+                       "acl": [ "luci-app-watchcat" ],
                        "uci": { "system": true }
                }
        }
index ece51325fdaa099292e14a97d15b26890061878a..1fb8cd7ae8a5d27a1ac0ab0981d1e6ace93bd2cd 100644 (file)
@@ -5,6 +5,9 @@
                "action": {
                        "type": "view",
                        "path": "wol"
+               },
+               "depends": {
+                       "acl": [ "luci-app-wol" ]
                }
        }
 }
index dbe9331b2f4e188a435a6d3b046fd75d79e473e5..2947461e58f80245055d573313b978782e0f987b 100644 (file)
@@ -5,6 +5,7 @@
                        "type": "firstchild"
                },
                "depends": {
+                       "acl": [ "luci-app-yggdrasil" ],
                        "uci": { "yggdrasil": true }
                }
        },
index 670f2c1a49afe71c09396b797e24b3737eceb8e4..188c695f3fb95e8ae7e726d44aa1c66e33b8e551 100644 (file)
@@ -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" ]
                }
        }
 }
index 0dcf6e843598e959a26a6013cd2e337967960fe6..e8eee643d5eb13a4a88b818875aed384ff78d56c 100644 (file)
@@ -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" ]
                }
        },
 
index 4a65dec17a3cc3fe72f5719d4131fe24f2d6fbfb..90a7001b780807c47b9e6610f98c585945b8ea0d 100644 (file)
@@ -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" }
                }
        },
                        "path": "system/leds"
                },
                "depends": {
+                       "acl": [ "luci-mod-system-config" ],
                        "fs": { "/sys/class/leds": "directory" }
                }
        },
                "action": {
                        "type": "view",
                        "path": "system/flash"
+               },
+               "depends": {
+                       "acl": [ "luci-mod-system-flash" ]
                }
        },
 
                "action": {
                        "type": "view",
                        "path": "system/reboot"
+               },
+               "depends": {
+                       "acl": [ "luci-mod-system-reboot" ]
                }
        }
 }