diff options
-rw-r--r-- | etc/inc/priv.defs.inc | 6 | ||||
-rw-r--r-- | usr/local/www/easyrule.php | 9 |
2 files changed, 14 insertions, 1 deletions
diff --git a/etc/inc/priv.defs.inc b/etc/inc/priv.defs.inc index e06c678..19340a9 100644 --- a/etc/inc/priv.defs.inc +++ b/etc/inc/priv.defs.inc @@ -1360,6 +1360,12 @@ $priv_list['page-xmlrpclibrary']['descr'] = gettext("Allow access to the 'XMLRPC $priv_list['page-xmlrpclibrary']['match'] = array(); $priv_list['page-xmlrpclibrary']['match'][] = "xmlrpc.php*"; +$priv_list['page-firewall-easyrule'] = array(); +$priv_list['page-firewall-easyrule']['name'] = gettext("WebCfg - Firewall: Easy Rule add/status page"); +$priv_list['page-firewall-easyrule']['descr'] = gettext("Allow access to the 'Firewall: Easy Rule' add/status page."); +$priv_list['page-firewall-easyrule']['match'] = array(); +$priv_list['page-firewall-easyrule']['match'][] = "easyrule.php*"; + $priv_rmvd = array(); ?> diff --git a/usr/local/www/easyrule.php b/usr/local/www/easyrule.php index 87c6a64..961173d 100644 --- a/usr/local/www/easyrule.php +++ b/usr/local/www/easyrule.php @@ -31,7 +31,14 @@ pfSense_MODULE: filter */ -$pgtitle = gettext("Status : EasyRule"); +##|+PRIV +##|*IDENT=page-firewall-easyrule +##|*NAME=Firewall: Easy Rule add/status page +##|*DESCR=Allow access to the 'Firewall: Easy Rule' add/status page. +##|*MATCH=easyrule.php* +##|-PRIV + +$pgtitle = gettext("Firewall: EasyRule"); require_once("guiconfig.inc"); require_once("easyrule.inc"); require_once("filter.inc"); |