summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-09-11 20:31:11 +0200
committerErmal <eri@pfsense.org>2014-09-11 20:31:11 +0200
commit77bf9d5ea296455803c154de4438b8b1363acf07 (patch)
tree12df07ad73d94e21797f1fe0f7346182be395022
parent6ca4d471b9878598ad8fc47fabdb025edd0dc9a0 (diff)
downloadpfsense-77bf9d5ea296455803c154de4438b8b1363acf07.zip
pfsense-77bf9d5ea296455803c154de4438b8b1363acf07.tar.gz
Add security priviledge for new page
-rw-r--r--etc/inc/priv.defs.inc8
1 files changed, 7 insertions, 1 deletions
diff --git a/etc/inc/priv.defs.inc b/etc/inc/priv.defs.inc
index 5b8ae15..352ac2e 100644
--- a/etc/inc/priv.defs.inc
+++ b/etc/inc/priv.defs.inc
@@ -90,6 +90,12 @@ $priv_list['page-status-ipsec']['descr'] = gettext("Allow access to the 'Status:
$priv_list['page-status-ipsec']['match'] = array();
$priv_list['page-status-ipsec']['match'][] = "diag_ipsec.php*";
+$priv_list['page-status-ipsec-leases'] = array();
+$priv_list['page-status-ipsec-leases']['name'] = gettext("WebCfg - Status: IPsec: Leasespage");
+$priv_list['page-status-ipsec-leases']['descr'] = gettext("Allow access to the 'Status: IPsec: Leases' page.");
+$priv_list['page-status-ipsec-leases']['match'] = array();
+$priv_list['page-status-ipsec-leases']['match'][] = "diag_ipsec_leases.php*";
+
$priv_list['page-status-ipsec-sad'] = array();
$priv_list['page-status-ipsec-sad']['name'] = gettext("WebCfg - Status: IPsec: SAD page");
$priv_list['page-status-ipsec-sad']['descr'] = gettext("Allow access to the 'Status: IPsec: SAD' page.");
@@ -1418,4 +1424,4 @@ $priv_list['page-firewall-easyrule']['match'][] = "easyrule.php*";
$priv_rmvd = array();
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud