1
|
<?php
|
2
|
|
3
|
global $priv_list;
|
4
|
|
5
|
$priv_list['user-services-captiveportal-login'] = array();
|
6
|
$priv_list['user-services-captiveportal-login']['name'] = gettext("User - Services - Captive portal login");
|
7
|
$priv_list['user-services-captiveportal-login']['descr'] = gettext("Indicates whether the user is able to login on the captive portal.");
|
8
|
|
9
|
$priv_list['page-help-all'] = array();
|
10
|
$priv_list['page-help-all']['name'] = "WebCfg - Help pages";
|
11
|
$priv_list['page-help-all']['descr'] = "Show all items on help menu";
|
12
|
$priv_list['page-help-all']['match'] = array();
|
13
|
$priv_list['page-help-all']['match'][] = "*help.php";
|
14
|
|
15
|
$priv_list['page-dashboard-all'] = array();
|
16
|
$priv_list['page-dashboard-all']['name'] = "WebCfg - Dashboard (all)";
|
17
|
$priv_list['page-dashboard-all']['descr'] = "Allow access to all pages required for the dashboard.";
|
18
|
$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
|
$priv_list['page-dashboard-all']['match'][] = "diag_logs_filter_dynamic.php*";
|
26
|
|
27
|
$priv_list['page-dashboard-widgets'] = array();
|
28
|
$priv_list['page-dashboard-widgets']['name'] = "WebCfg - Dashboard widgets (direct access).";
|
29
|
$priv_list['page-dashboard-widgets']['descr'] = "Allow direct access to all Dashboard widget pages, required for some widgets using AJAX.";
|
30
|
$priv_list['page-dashboard-widgets']['match'] = array();
|
31
|
$priv_list['page-dashboard-widgets']['match'][] = "*.widget.php*";
|
32
|
|
33
|
$priv_list['user-config-readonly'] = array();
|
34
|
$priv_list['user-config-readonly']['name'] = "User - Config - Deny Config Write";
|
35
|
$priv_list['user-config-readonly']['descr'] = "If present, ignores requests from this user to write config.xml.";
|
36
|
|
37
|
$priv_list['user-shell-access'] = array();
|
38
|
$priv_list['user-shell-access']['name'] = "User - System - Shell account access";
|
39
|
$priv_list['user-shell-access']['descr'] = "Indicates whether the user is able to login for ".
|
40
|
"example via SSH.";
|
41
|
|
42
|
$priv_list['user-copy-files'] = array();
|
43
|
$priv_list['user-copy-files']['name'] = "User - System - Copy files";
|
44
|
$priv_list['user-copy-files']['descr'] = "Indicates whether the user is allowed to copy files ".
|
45
|
"onto the {$g['product_name']} appliance via SCP/SFTP. ".
|
46
|
"If you are going to use this privilege, you must install ".
|
47
|
"scponly on the appliance (Hint: pkg_add -r scponly).";
|
48
|
|
49
|
$priv_list['user-ssh-tunnel'] = array();
|
50
|
$priv_list['user-ssh-tunnel']['name'] = "User - System - SSH tunneling";
|
51
|
$priv_list['user-ssh-tunnel']['descr'] = "Indicates whether the user is able to login for ".
|
52
|
"tunneling via SSH when they have no shell access. ".
|
53
|
"Note: User - System - Copy files conflicts with ".
|
54
|
"this privilege.";
|
55
|
|
56
|
$priv_list['user-ipsec-xauth-dialin'] = array();
|
57
|
$priv_list['user-ipsec-xauth-dialin']['name'] = "User - VPN - IPsec xauth Dialin";
|
58
|
$priv_list['user-ipsec-xauth-dialin']['descr'] = "Indicates whether the user is allowed to dial in via IPsec xauth ".
|
59
|
"(Note: Does not allow shell access, but may allow ".
|
60
|
"the user to create ssh tunnels)";
|
61
|
|
62
|
$priv_list['user-l2tp-dialin'] = array();
|
63
|
$priv_list['user-l2tp-dialin']['name'] = "User - VPN - L2TP Dialin";
|
64
|
$priv_list['user-l2tp-dialin']['descr'] = "Indicates whether the user is allowed to dial in via L2TP";
|
65
|
|
66
|
$priv_list['user-pptp-dialin'] = array();
|
67
|
$priv_list['user-pptp-dialin']['name'] = "User - VPN - PPTP Dialin";
|
68
|
$priv_list['user-pptp-dialin']['descr'] = "Indicates whether the user is allowed to dial in via PPTP";
|
69
|
|
70
|
$priv_list['user-pppoe-dialin'] = array();
|
71
|
$priv_list['user-pppoe-dialin']['name'] = "User - VPN - PPPOE Dialin";
|
72
|
$priv_list['user-pppoe-dialin']['descr'] = "Indicates whether the user is allowed to dial in via PPPOE";
|
73
|
|
74
|
?>
|