summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_rules.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-12-03 02:15:19 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-12-03 02:15:19 +0000
commitb67429270b6619e88242bc82bd424332f453c684 (patch)
treead50cc0ce373196f8e21be8cd56428a189ba5e50 /usr/local/www/firewall_rules.php
parentd81c2ad144ad3665df8c7986f3919133f447456c (diff)
downloadpfsense-b67429270b6619e88242bc82bd424332f453c684.zip
pfsense-b67429270b6619e88242bc82bd424332f453c684.tar.gz
Only show interfaces that the user has access to edit on the firewall rules edit page.
Diffstat (limited to 'usr/local/www/firewall_rules.php')
-rwxr-xr-xusr/local/www/firewall_rules.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/usr/local/www/firewall_rules.php b/usr/local/www/firewall_rules.php
index 7cc96bc..9bc388e 100755
--- a/usr/local/www/firewall_rules.php
+++ b/usr/local/www/firewall_rules.php
@@ -31,17 +31,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
-function have_ruleint_access($if) {
- global $config, $g, $HTTP_SERVER_VARS;
- $allowed = $g['privs'];
- if (isSystemAdmin($HTTP_SERVER_VARS['AUTH_USER']))
- return true;
- $security_url = "firewall_rules.php?if=". strtolower($if);
- if(in_array($security_url, $allowed))
- return true;
- return false;
-}
-
$pgtitle = array("Firewall", "Rules");
require("guiconfig.inc");
OpenPOWER on IntegriCloud