|
@@ -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" ]
|
|
|
}
|
|
|
}
|
|
|
}
|