Project

General

Profile

Download (11 KB) Statistics
| Branch: | Tag: | Revision:
1
<?php
2

    
3
global $priv_list;
4

    
5
$priv_list['system-xmlrpc-ha-sync'] = array();
6
$priv_list['system-xmlrpc-ha-sync']['name'] = gettext("System - HA node sync");
7
$priv_list['system-xmlrpc-ha-sync']['descr'] = gettext("Allow access to authenticate this user for HA sync via XMLRPC");
8
$priv_list['system-xmlrpc-ha-sync']['warn'] = "standard-warning-root";
9

    
10
$priv_list['user-services-captiveportal-login'] = array();
11
$priv_list['user-services-captiveportal-login']['name']  = gettext("User - Services: Captive Portal login");
12
$priv_list['user-services-captiveportal-login']['descr'] = gettext("Indicates whether the user is able to login on the captive portal.");
13

    
14
$priv_list['page-help-all'] = array();
15
$priv_list['page-help-all']['name'] = gettext("WebCfg - Help pages");
16
$priv_list['page-help-all']['descr'] = gettext("Show all items on help menu and allow access to Help shortcut links");
17
$priv_list['page-help-all']['match'] = array();
18
$priv_list['page-help-all']['match'][] = "help.php*";
19

    
20
$priv_list['page-dashboard-all'] = array();
21
$priv_list['page-dashboard-all']['name'] = gettext("WebCfg - Dashboard (all)");
22
$priv_list['page-dashboard-all']['descr'] = gettext("Allow access to all pages required for the dashboard.");
23
$priv_list['page-dashboard-all']['match'] = array();
24
$priv_list['page-dashboard-all']['match'][] = "index.php*";
25
$priv_list['page-dashboard-all']['match'][] = "widgets/widgets/*.widget.php*";
26
$priv_list['page-dashboard-all']['match'][] = "graph.php*";
27
$priv_list['page-dashboard-all']['match'][] = "graph_cpu.php*";
28
$priv_list['page-dashboard-all']['match'][] = "getstats.php*";
29
$priv_list['page-dashboard-all']['match'][] = "ifstats.php*";
30
$priv_list['page-dashboard-all']['match'][] = "status_logs_filter_dynamic.php*";
31

    
32
$priv_list['page-dashboard-widgets'] = array();
33
$priv_list['page-dashboard-widgets']['name'] = gettext("WebCfg - Dashboard widgets (direct access).");
34
$priv_list['page-dashboard-widgets']['descr'] = gettext("Allow direct access to all Dashboard widget pages, required for some widgets using AJAX.");
35
$priv_list['page-dashboard-widgets']['match'] = array();
36
$priv_list['page-dashboard-widgets']['match'][] = "widgets/widgets/*.widget.php*";
37

    
38
$priv_list['user-config-readonly'] = array();
39
$priv_list['user-config-readonly']['name']  = gettext("User - Config: Deny Config Write");
40
$priv_list['user-config-readonly']['descr'] = gettext("If present, ignores requests from this user to write config.xml.");
41

    
42
$priv_list['user-view-notices'] = array();
43
$priv_list['user-view-notices']['name']  = gettext("User - Notices: View");
44
$priv_list['user-view-notices']['descr'] = gettext("This user can view system notices.");
45

    
46
$priv_list['user-view-clear-notices'] = array();
47
$priv_list['user-view-clear-notices']['name']  = gettext("User - Notices: View and Clear");
48
$priv_list['user-view-clear-notices']['descr'] = gettext("This user can view and clear system notices.");
49

    
50
$priv_list['user-shell-access'] = array();
51
$priv_list['user-shell-access']['name']  = gettext("User - System: Shell account access");
52
$priv_list['user-shell-access']['descr'] = gettext("Indicates whether the user is able to login for example via SSH.");
53
$priv_list['user-shell-access']['warn'] = "standard-warning-root";
54

    
55
$priv_list['user-copy-files'] = array();
56
$priv_list['user-copy-files']['name']  = gettext("User - System: Copy files (scp)");
57
$priv_list['user-copy-files']['descr'] = gettext("Indicates whether this user is allowed to copy files onto the {$g['product_label']} appliance via SCP/SFTP.");
58
$priv_list['user-copy-files']['warn'] = "standard-warning-root";
59

    
60
$priv_list['user-copy-files-chroot'] = array();
61
$priv_list['user-copy-files-chroot']['name']  = gettext("User - System: Copy files to home directory (chrooted scp)");
62
$priv_list['user-copy-files-chroot']['descr'] = gettext("Indicates whether this user is allowed to copy files to the home directory via SCP/SFTP.".
63
										"Note: User - System - Copy files (scp) conflicts with this privilege.".
64
						       				"Warning: Manual chroot setup required, see /usr/local/etc/rc.d/scponlyc.");
65

    
66
$priv_list['user-ssh-tunnel'] = array();
67
$priv_list['user-ssh-tunnel']['name']  = gettext("User - System: SSH tunneling");
68
$priv_list['user-ssh-tunnel']['descr'] = gettext("Indicates whether the user is able to login for ".
69
										"tunneling via SSH when they have no shell access. ".
70
										"Note: User - System - Copy files (scp) and ".
71
						 				"System: Copy files to home directory (chrooted scp) ".
72
										"conflict with this privilege.");
73

    
74
$priv_list['user-ipsec-xauth-dialin'] = array();
75
$priv_list['user-ipsec-xauth-dialin']['name'] = gettext("User - VPN: IPsec xauth Dialin");
76
$priv_list['user-ipsec-xauth-dialin']['descr'] = gettext("Indicates whether the user is allowed to dial in via IPsec xauth ".
77
										"(Note: Does not allow shell access, but may allow ".
78
										"the user to create SSH tunnels)");
79

    
80
$priv_list['user-l2tp-dialin'] = array();
81
$priv_list['user-l2tp-dialin']['name'] = gettext("User - VPN: L2TP Dialin");
82
$priv_list['user-l2tp-dialin']['descr'] = gettext("Indicates whether the user is allowed to dial in via L2TP");
83

    
84
$priv_list['user-pppoe-dialin'] = array();
85
$priv_list['user-pppoe-dialin']['name'] = gettext("User - VPN: PPPOE Dialin");
86
$priv_list['user-pppoe-dialin']['descr'] = gettext("Indicates whether the user is allowed to dial in via PPPOE");
87

    
88
$priv_list['page-status-systemlogs-portalauth'] = array();
89
$priv_list['page-status-systemlogs-portalauth']['name'] = gettext("WebCfg - Status: System Logs: Portal Auth");
90
$priv_list['page-status-systemlogs-portalauth']['descr'] = gettext("Allow access to the 'Status: System Logs: Portal Auth' page.");
91
$priv_list['page-status-systemlogs-portalauth']['match'] = array();
92
$priv_list['page-status-systemlogs-portalauth']['match'][] = "status_logs.php?logfile=portalauth";
93

    
94
$priv_list['page-diagnostics-logs-dhcp'] = array();
95
$priv_list['page-diagnostics-logs-dhcp']['name'] = gettext("WebCfg - Status: Logs: DHCP");
96
$priv_list['page-diagnostics-logs-dhcp']['descr'] = gettext("Allow access to the 'Status: Logs: DHCP' page.");
97
$priv_list['page-diagnostics-logs-dhcp']['match'] = array();
98
$priv_list['page-diagnostics-logs-dhcp']['match'][] = "status_logs.php?logfile=dhcpd";
99

    
100
$priv_list['page-diagnostics-logs-gateways'] = array();
101
$priv_list['page-diagnostics-logs-gateways']['name'] = gettext("WebCfg - Status: Logs: Gateways");
102
$priv_list['page-diagnostics-logs-gateways']['descr'] = gettext("Allow access to the 'Status: Logs: System: Gateways' page.");
103
$priv_list['page-diagnostics-logs-gateways']['match'] = array();
104
$priv_list['page-diagnostics-logs-gateways']['match'][] = "status_logs.php?logfile=gateways";
105

    
106
$priv_list['page-diagnostics-logs-resolver'] = array();
107
$priv_list['page-diagnostics-logs-resolver']['name'] = gettext("WebCfg - Status: Logs: Resolver");
108
$priv_list['page-diagnostics-logs-resolver']['descr'] = gettext("Allow access to the 'Status: Logs: System: Resolver' page.");
109
$priv_list['page-diagnostics-logs-resolver']['match'] = array();
110
$priv_list['page-diagnostics-logs-resolver']['match'][] = "status_logs.php?logfile=resolver";
111

    
112
$priv_list['page-status-systemlogs-ipsecvpn'] = array();
113
$priv_list['page-status-systemlogs-ipsecvpn']['name'] = gettext("WebCfg - Status: System Logs: IPsec VPN");
114
$priv_list['page-status-systemlogs-ipsecvpn']['descr'] = gettext("Allow access to the 'Status: System Logs: IPsec VPN' page.");
115
$priv_list['page-status-systemlogs-ipsecvpn']['match'] = array();
116
$priv_list['page-status-systemlogs-ipsecvpn']['match'][] = "status_logs.php?logfile=ipsec";
117

    
118
$priv_list['page-status-systemlogs-ntpd'] = array();
119
$priv_list['page-status-systemlogs-ntpd']['name'] = gettext("WebCfg - Status: System Logs: NTP");
120
$priv_list['page-status-systemlogs-ntpd']['descr'] = gettext("Allow access to the 'Status: System Logs: NTP' page.");
121
$priv_list['page-status-systemlogs-ntpd']['match'] = array();
122
$priv_list['page-status-systemlogs-ntpd']['match'][] = "status_logs.php?logfile=ntpd";
123

    
124
$priv_list['page-status-systemlogs-openvpn'] = array();
125
$priv_list['page-status-systemlogs-openvpn']['name'] = gettext("WebCfg - Status: System Logs: OpenVPN");
126
$priv_list['page-status-systemlogs-openvpn']['descr'] = gettext("Allow access to the 'Status: System Logs: OpenVPN' page.");
127
$priv_list['page-status-systemlogs-openvpn']['match'] = array();
128
$priv_list['page-status-systemlogs-openvpn']['match'][] = "status_logs.php?logfile=openvpn";
129

    
130
$priv_list['page-status-systemlogs-ppp'] = array();
131
$priv_list['page-status-systemlogs-ppp']['name'] = gettext("WebCfg - Status: System Logs: IPsec VPN");
132
$priv_list['page-status-systemlogs-ppp']['descr'] = gettext("Allow access to the 'Status: System Logs: IPsec VPN' page.");
133
$priv_list['page-status-systemlogs-ppp']['match'] = array();
134
$priv_list['page-status-systemlogs-ppp']['match'][] = "status_logs.php?logfile=ppp";
135

    
136
$priv_list['page-status-systemlogs-routing'] = array();
137
$priv_list['page-status-systemlogs-routing']['name'] = gettext("WebCfg - Status: System Logs: Routing");
138
$priv_list['page-status-systemlogs-routing']['descr'] = gettext("Allow access to the 'Status: System Logs: System: Routing' page.");
139
$priv_list['page-status-systemlogs-routing']['match'] = array();
140
$priv_list['page-status-systemlogs-routing']['match'][] = "status_logs.php?logfile=routing";
141

    
142
$priv_list['page-status-systemlogs-wireless'] = array();
143
$priv_list['page-status-systemlogs-wireless']['name'] = gettext("WebCfg - Status: System Logs: Wireless");
144
$priv_list['page-status-systemlogs-wireless']['descr'] = gettext("Allow access to the 'Status: System Logs: System: Wireless' page.");
145
$priv_list['page-status-systemlogs-wireless']['match'] = array();
146
$priv_list['page-status-systemlogs-wireless']['match'][] = "status_logs.php?logfile=wireless";
147

    
148
$priv_list['page-services-upnp'] = array();
149
$priv_list['page-services-upnp']['name'] = gettext("WebCfg - Services: UPnP");
150
$priv_list['page-services-upnp']['descr'] = gettext("Allow access to the 'Services: UPnP' page.");
151
$priv_list['page-services-upnp']['match'] = array();
152
$priv_list['page-services-upnp']['match'][] = "pkg_edit.php?xml=miniupnpd.xml";
153

    
154
$priv_list['page-openvpn-server-advanced'] = array();
155
$priv_list['page-openvpn-server-advanced']['name'] = gettext("WebCfg - OpenVPN: Clients Edit Advanced");
156
$priv_list['page-openvpn-server-advanced']['descr'] = gettext("Allow edit access to the 'OpenVPN: Clients' Advanced settings field.");
157
$priv_list['page-openvpn-server-advanced']['warn'] = "standard-warning-root";
158

    
159
$priv_list['page-openvpn-csc-advanced'] = array();
160
$priv_list['page-openvpn-csc-advanced']['name'] = gettext("WebCfg - OpenVPN: Client Specific Override Edit Advanced");
161
$priv_list['page-openvpn-csc-advanced']['descr'] = gettext("Allow edit access to the 'OpenVPN: Client Specific Override' advanced settings field.");
162
$priv_list['page-openvpn-csc-advanced']['warn'] = "standard-warning-root";
163

    
164
$priv_list['page-openvpn-client-advanced'] = array();
165
$priv_list['page-openvpn-client-advanced']['name'] = gettext("WebCfg - OpenVPN: Servers Edit Advanced");
166
$priv_list['page-openvpn-client-advanced']['descr'] = gettext("Allow edit access to the 'OpenVPN: Servers' Advanced settings field.");
167
$priv_list['page-openvpn-client-advanced']['warn'] = "standard-warning-root";
168

    
169
?>
    (1-1/1)