1 |
2816a089
|
sullrich
|
<?php
|
2 |
|
|
|
3 |
ae2951d3
|
sullrich
|
global $priv_list;
|
4 |
|
|
|
5 |
a8cb0038
|
Renato Botelho
|
$priv_list['user-services-captiveportal-login'] = array();
|
6 |
668d95a2
|
jim-p
|
$priv_list['user-services-captiveportal-login']['name'] = gettext("User - Services: Captive Portal login");
|
7 |
a8cb0038
|
Renato Botelho
|
$priv_list['user-services-captiveportal-login']['descr'] = gettext("Indicates whether the user is able to login on the captive portal.");
|
8 |
|
|
|
9 |
d53dc7d0
|
Marcello Coutinho
|
$priv_list['page-help-all'] = array();
|
10 |
3000dd3b
|
jim-p
|
$priv_list['page-help-all']['name'] = gettext("WebCfg - Help pages");
|
11 |
|
|
$priv_list['page-help-all']['descr'] = gettext("Show all items on help menu");
|
12 |
d53dc7d0
|
Marcello Coutinho
|
$priv_list['page-help-all']['match'] = array();
|
13 |
56d23722
|
Renato Botelho
|
$priv_list['page-help-all']['match'][] = "*help.php";
|
14 |
14f5f705
|
marcelloc
|
|
15 |
ea8eef6f
|
jim-p
|
$priv_list['page-dashboard-all'] = array();
|
16 |
3000dd3b
|
jim-p
|
$priv_list['page-dashboard-all']['name'] = gettext("WebCfg - Dashboard (all)");
|
17 |
|
|
$priv_list['page-dashboard-all']['descr'] = gettext("Allow access to all pages required for the dashboard.");
|
18 |
ea8eef6f
|
jim-p
|
$priv_list['page-dashboard-all']['match'] = array();
|
19 |
|
|
$priv_list['page-dashboard-all']['match'][] = "index.php*";
|
20 |
|
|
$priv_list['page-dashboard-all']['match'][] = "*.widget.php*";
|
21 |
|
|
$priv_list['page-dashboard-all']['match'][] = "graph.php*";
|
22 |
|
|
$priv_list['page-dashboard-all']['match'][] = "graph_cpu.php*";
|
23 |
|
|
$priv_list['page-dashboard-all']['match'][] = "getstats.php*";
|
24 |
|
|
$priv_list['page-dashboard-all']['match'][] = "ifstats.php*";
|
25 |
1af5edbf
|
Stephen Beaver
|
$priv_list['page-dashboard-all']['match'][] = "status_logs_filter_dynamic.php*";
|
26 |
ea8eef6f
|
jim-p
|
|
27 |
|
|
$priv_list['page-dashboard-widgets'] = array();
|
28 |
3000dd3b
|
jim-p
|
$priv_list['page-dashboard-widgets']['name'] = gettext("WebCfg - Dashboard widgets (direct access).");
|
29 |
|
|
$priv_list['page-dashboard-widgets']['descr'] = gettext("Allow direct access to all Dashboard widget pages, required for some widgets using AJAX.");
|
30 |
ea8eef6f
|
jim-p
|
$priv_list['page-dashboard-widgets']['match'] = array();
|
31 |
|
|
$priv_list['page-dashboard-widgets']['match'][] = "*.widget.php*";
|
32 |
|
|
|
33 |
170cb2bc
|
jim-p
|
$priv_list['user-config-readonly'] = array();
|
34 |
668d95a2
|
jim-p
|
$priv_list['user-config-readonly']['name'] = gettext("User - Config: Deny Config Write");
|
35 |
3000dd3b
|
jim-p
|
$priv_list['user-config-readonly']['descr'] = gettext("If present, ignores requests from this user to write config.xml.");
|
36 |
170cb2bc
|
jim-p
|
|
37 |
2816a089
|
sullrich
|
$priv_list['user-shell-access'] = array();
|
38 |
668d95a2
|
jim-p
|
$priv_list['user-shell-access']['name'] = gettext("User - System: Shell account access");
|
39 |
3000dd3b
|
jim-p
|
$priv_list['user-shell-access']['descr'] = gettext("Indicates whether the user is able to login for example via SSH.");
|
40 |
2816a089
|
sullrich
|
|
41 |
|
|
$priv_list['user-copy-files'] = array();
|
42 |
668d95a2
|
jim-p
|
$priv_list['user-copy-files']['name'] = gettext("User - System: Copy files (scp)");
|
43 |
3000dd3b
|
jim-p
|
$priv_list['user-copy-files']['descr'] = gettext("Indicates whether the user is allowed to copy files ".
|
44 |
2816a089
|
sullrich
|
"onto the {$g['product_name']} appliance via SCP/SFTP. ".
|
45 |
|
|
"If you are going to use this privilege, you must install ".
|
46 |
3000dd3b
|
jim-p
|
"scponly on the appliance (Hint: pkg_add -r scponly).");
|
47 |
2816a089
|
sullrich
|
|
48 |
3e251b12
|
Erik Fonnesbeck
|
$priv_list['user-ssh-tunnel'] = array();
|
49 |
668d95a2
|
jim-p
|
$priv_list['user-ssh-tunnel']['name'] = gettext("User - System: SSH tunneling");
|
50 |
3000dd3b
|
jim-p
|
$priv_list['user-ssh-tunnel']['descr'] = gettext("Indicates whether the user is able to login for ".
|
51 |
3e251b12
|
Erik Fonnesbeck
|
"tunneling via SSH when they have no shell access. ".
|
52 |
|
|
"Note: User - System - Copy files conflicts with ".
|
53 |
3000dd3b
|
jim-p
|
"this privilege.");
|
54 |
3e251b12
|
Erik Fonnesbeck
|
|
55 |
fbfd675a
|
jim-p
|
$priv_list['user-ipsec-xauth-dialin'] = array();
|
56 |
668d95a2
|
jim-p
|
$priv_list['user-ipsec-xauth-dialin']['name'] = gettext("User - VPN: IPsec xauth Dialin");
|
57 |
3000dd3b
|
jim-p
|
$priv_list['user-ipsec-xauth-dialin']['descr'] = gettext("Indicates whether the user is allowed to dial in via IPsec xauth ".
|
58 |
fbfd675a
|
jim-p
|
"(Note: Does not allow shell access, but may allow ".
|
59 |
3000dd3b
|
jim-p
|
"the user to create SSH tunnels)");
|
60 |
fbfd675a
|
jim-p
|
|
61 |
2816a089
|
sullrich
|
$priv_list['user-l2tp-dialin'] = array();
|
62 |
668d95a2
|
jim-p
|
$priv_list['user-l2tp-dialin']['name'] = gettext("User - VPN: L2TP Dialin");
|
63 |
3000dd3b
|
jim-p
|
$priv_list['user-l2tp-dialin']['descr'] = gettext("Indicates whether the user is allowed to dial in via L2TP");
|
64 |
2816a089
|
sullrich
|
|
65 |
|
|
$priv_list['user-pppoe-dialin'] = array();
|
66 |
668d95a2
|
jim-p
|
$priv_list['user-pppoe-dialin']['name'] = gettext("User - VPN: PPPOE Dialin");
|
67 |
3000dd3b
|
jim-p
|
$priv_list['user-pppoe-dialin']['descr'] = gettext("Indicates whether the user is allowed to dial in via PPPOE");
|
68 |
2816a089
|
sullrich
|
|
69 |
1e9e1ead
|
jim-p
|
$priv_list['page-status-systemlogs-portalauth'] = array();
|
70 |
7248ccd2
|
jim-p
|
$priv_list['page-status-systemlogs-portalauth']['name'] = gettext("WebCfg - Status: System logs: Portal Auth");
|
71 |
1e9e1ead
|
jim-p
|
$priv_list['page-status-systemlogs-portalauth']['descr'] = gettext("Allow access to the 'Status: System logs: Portal Auth' page.");
|
72 |
|
|
$priv_list['page-status-systemlogs-portalauth']['match'] = array();
|
73 |
1af5edbf
|
Stephen Beaver
|
$priv_list['page-status-systemlogs-portalauth']['match'][] = "status_logs.php?logfile=portalauth";
|
74 |
1e9e1ead
|
jim-p
|
|
75 |
|
|
$priv_list['page-diagnostics-logs-dhcp'] = array();
|
76 |
7248ccd2
|
jim-p
|
$priv_list['page-diagnostics-logs-dhcp']['name'] = gettext("WebCfg - Status: Logs: DHCP");
|
77 |
0b8328c5
|
jim-p
|
$priv_list['page-diagnostics-logs-dhcp']['descr'] = gettext("Allow access to the 'Status: Logs: DHCP' page.");
|
78 |
1e9e1ead
|
jim-p
|
$priv_list['page-diagnostics-logs-dhcp']['match'] = array();
|
79 |
1af5edbf
|
Stephen Beaver
|
$priv_list['page-diagnostics-logs-dhcp']['match'][] = "status_logs.php?logfile=dhcpd";
|
80 |
1e9e1ead
|
jim-p
|
|
81 |
|
|
$priv_list['page-diagnostics-logs-gateways'] = array();
|
82 |
7248ccd2
|
jim-p
|
$priv_list['page-diagnostics-logs-gateways']['name'] = gettext("WebCfg - Status: Logs: Gateways");
|
83 |
0b8328c5
|
jim-p
|
$priv_list['page-diagnostics-logs-gateways']['descr'] = gettext("Allow access to the 'Status: Logs: System: Gateways' page.");
|
84 |
1e9e1ead
|
jim-p
|
$priv_list['page-diagnostics-logs-gateways']['match'] = array();
|
85 |
1af5edbf
|
Stephen Beaver
|
$priv_list['page-diagnostics-logs-gateways']['match'][] = "status_logs.php?logfile=gateways";
|
86 |
1e9e1ead
|
jim-p
|
|
87 |
|
|
$priv_list['page-diagnostics-logs-resolver'] = array();
|
88 |
7248ccd2
|
jim-p
|
$priv_list['page-diagnostics-logs-resolver']['name'] = gettext("WebCfg - Status: Logs: Resolver");
|
89 |
0b8328c5
|
jim-p
|
$priv_list['page-diagnostics-logs-resolver']['descr'] = gettext("Allow access to the 'Status: Logs: System: Resolver' page.");
|
90 |
1e9e1ead
|
jim-p
|
$priv_list['page-diagnostics-logs-resolver']['match'] = array();
|
91 |
1af5edbf
|
Stephen Beaver
|
$priv_list['page-diagnostics-logs-resolver']['match'][] = "status_logs.php?logfile=resolver";
|
92 |
1e9e1ead
|
jim-p
|
|
93 |
|
|
$priv_list['page-status-systemlogs-ipsecvpn'] = array();
|
94 |
7248ccd2
|
jim-p
|
$priv_list['page-status-systemlogs-ipsecvpn']['name'] = gettext("WebCfg - Status: System logs: IPsec VPN");
|
95 |
1e9e1ead
|
jim-p
|
$priv_list['page-status-systemlogs-ipsecvpn']['descr'] = gettext("Allow access to the 'Status: System logs: IPsec VPN' page.");
|
96 |
|
|
$priv_list['page-status-systemlogs-ipsecvpn']['match'] = array();
|
97 |
1af5edbf
|
Stephen Beaver
|
$priv_list['page-status-systemlogs-ipsecvpn']['match'][] = "status_logs.php?logfile=ipsec";
|
98 |
1e9e1ead
|
jim-p
|
|
99 |
|
|
$priv_list['page-status-systemlogs-ntpd'] = array();
|
100 |
7248ccd2
|
jim-p
|
$priv_list['page-status-systemlogs-ntpd']['name'] = gettext("WebCfg - Status: System logs: NTP");
|
101 |
1e9e1ead
|
jim-p
|
$priv_list['page-status-systemlogs-ntpd']['descr'] = gettext("Allow access to the 'Status: System logs: NTP' page.");
|
102 |
|
|
$priv_list['page-status-systemlogs-ntpd']['match'] = array();
|
103 |
1af5edbf
|
Stephen Beaver
|
$priv_list['page-status-systemlogs-ntpd']['match'][] = "status_logs.php?logfile=ntpd";
|
104 |
1e9e1ead
|
jim-p
|
|
105 |
|
|
$priv_list['page-status-systemlogs-openvpn'] = array();
|
106 |
7248ccd2
|
jim-p
|
$priv_list['page-status-systemlogs-openvpn']['name'] = gettext("WebCfg - Status: System logs: OpenVPN");
|
107 |
1e9e1ead
|
jim-p
|
$priv_list['page-status-systemlogs-openvpn']['descr'] = gettext("Allow access to the 'Status: System logs: OpenVPN' page.");
|
108 |
|
|
$priv_list['page-status-systemlogs-openvpn']['match'] = array();
|
109 |
1af5edbf
|
Stephen Beaver
|
$priv_list['page-status-systemlogs-openvpn']['match'][] = "status_logs.php?logfile=openvpn";
|
110 |
1e9e1ead
|
jim-p
|
|
111 |
|
|
$priv_list['page-status-systemlogs-ppp'] = array();
|
112 |
7248ccd2
|
jim-p
|
$priv_list['page-status-systemlogs-ppp']['name'] = gettext("WebCfg - Status: System logs: IPsec VPN");
|
113 |
1e9e1ead
|
jim-p
|
$priv_list['page-status-systemlogs-ppp']['descr'] = gettext("Allow access to the 'Status: System logs: IPsec VPN' page.");
|
114 |
|
|
$priv_list['page-status-systemlogs-ppp']['match'] = array();
|
115 |
1af5edbf
|
Stephen Beaver
|
$priv_list['page-status-systemlogs-ppp']['match'][] = "status_logs.php?logfile=ppp";
|
116 |
1e9e1ead
|
jim-p
|
|
117 |
|
|
$priv_list['page-status-systemlogs-loadbalancer'] = array();
|
118 |
7248ccd2
|
jim-p
|
$priv_list['page-status-systemlogs-loadbalancer']['name'] = gettext("WebCfg - Status: System logs: Load Balancer");
|
119 |
1e9e1ead
|
jim-p
|
$priv_list['page-status-systemlogs-loadbalancer']['descr'] = gettext("Allow access to the 'Status: System logs: Load Balancer' page.");
|
120 |
|
|
$priv_list['page-status-systemlogs-loadbalancer']['match'] = array();
|
121 |
1af5edbf
|
Stephen Beaver
|
$priv_list['page-status-systemlogs-loadbalancer']['match'][] = "status_logs.php?logfile=relayd";
|
122 |
1e9e1ead
|
jim-p
|
|
123 |
|
|
$priv_list['page-status-systemlogs-routing'] = array();
|
124 |
7248ccd2
|
jim-p
|
$priv_list['page-status-systemlogs-routing']['name'] = gettext("WebCfg - Status: System logs: Routing");
|
125 |
1e9e1ead
|
jim-p
|
$priv_list['page-status-systemlogs-routing']['descr'] = gettext("Allow access to the 'Status: System logs: System: Routing' page.");
|
126 |
|
|
$priv_list['page-status-systemlogs-routing']['match'] = array();
|
127 |
1af5edbf
|
Stephen Beaver
|
$priv_list['page-status-systemlogs-routing']['match'][] = "status_logs.php?logfile=routing";
|
128 |
1e9e1ead
|
jim-p
|
|
129 |
|
|
$priv_list['page-status-systemlogs-wireless'] = array();
|
130 |
7248ccd2
|
jim-p
|
$priv_list['page-status-systemlogs-wireless']['name'] = gettext("WebCfg - Status: System logs: Wireless");
|
131 |
1e9e1ead
|
jim-p
|
$priv_list['page-status-systemlogs-wireless']['descr'] = gettext("Allow access to the 'Status: System logs: System: Wireless' page.");
|
132 |
|
|
$priv_list['page-status-systemlogs-wireless']['match'] = array();
|
133 |
1af5edbf
|
Stephen Beaver
|
$priv_list['page-status-systemlogs-wireless']['match'][] = "status_logs.php?logfile=wireless";
|
134 |
1e9e1ead
|
jim-p
|
|
135 |
a8cb0038
|
Renato Botelho
|
?>
|