treewide: add ACL annotations to menu entries
[oweals/luci.git] / modules / luci-mod-system / root / usr / share / luci / menu.d / luci-mod-system.json
1 {
2         "admin/system/system": {
3                 "title": "System",
4                 "order": 1,
5                 "action": {
6                         "type": "view",
7                         "path": "system/system"
8                 },
9                 "depends": {
10                         "acl": [ "luci-mod-system-config" ]
11                 }
12         },
13
14         "admin/system/admin": {
15                 "title": "Administration",
16                 "order": 2,
17                 "action": {
18                         "type": "firstchild"
19                 },
20                 "depends": {
21                         "acl": [ "luci-mod-system-config", "luci-mod-system-ssh" ]
22                 }
23         },
24
25         "admin/system/admin/password": {
26                 "title": "Router Password",
27                 "order": 1,
28                 "action": {
29                         "type": "view",
30                         "path": "system/password"
31                 },
32                 "depends": {
33                         "acl": [ "luci-mod-system-config" ]
34                 }
35         },
36
37         "admin/system/admin/dropbear": {
38                 "title": "SSH Access",
39                 "order": 2,
40                 "action": {
41                         "type": "view",
42                         "path": "system/dropbear"
43                 },
44                 "depends": {
45                         "acl": [ "luci-mod-system-ssh" ],
46                         "uci": { "dropbear": true }
47                 }
48         },
49
50         "admin/system/admin/sshkeys": {
51                 "title": "SSH-Keys",
52                 "order": 3,
53                 "action": {
54                         "type": "view",
55                         "path": "system/sshkeys"
56                 },
57                 "depends": {
58                         "acl": [ "luci-mod-system-ssh" ],
59                         "uci": { "dropbear": true }
60                 }
61         },
62
63         "admin/system/startup": {
64                 "title": "Startup",
65                 "order": 45,
66                 "action": {
67                         "type": "view",
68                         "path": "system/startup"
69                 },
70                 "depends": {
71                         "acl": [ "luci-mod-system-init" ]
72                 }
73         },
74
75         "admin/system/crontab": {
76                 "title": "Scheduled Tasks",
77                 "order": 46,
78                 "action": {
79                         "type": "view",
80                         "path": "system/crontab"
81                 },
82                 "depends": {
83                         "acl": [ "luci-mod-system-cron" ]
84                 }
85         },
86
87         "admin/system/mounts": {
88                 "title": "Mount Points",
89                 "order": 50,
90                 "action": {
91                         "type": "view",
92                         "path": "system/mounts"
93                 },
94                 "depends": {
95                         "acl": [ "luci-mod-system-mounts" ],
96                         "fs": { "/sbin/block": "executable" }
97                 }
98         },
99
100         "admin/system/leds": {
101                 "title": "LED Configuration",
102                 "order": 60,
103                 "action": {
104                         "type": "view",
105                         "path": "system/leds"
106                 },
107                 "depends": {
108                         "acl": [ "luci-mod-system-config" ],
109                         "fs": { "/sys/class/leds": "directory" }
110                 }
111         },
112
113         "admin/system/flash": {
114                 "title": "Backup / Flash Firmware",
115                 "order": 70,
116                 "action": {
117                         "type": "view",
118                         "path": "system/flash"
119                 },
120                 "depends": {
121                         "acl": [ "luci-mod-system-flash" ]
122                 }
123         },
124
125         "admin/system/reboot": {
126                 "title": "Reboot",
127                 "order": 90,
128                 "action": {
129                         "type": "view",
130                         "path": "system/reboot"
131                 },
132                 "depends": {
133                         "acl": [ "luci-mod-system-reboot" ]
134                 }
135         }
136 }