diff options
author | Matthew Grooms <mgrooms@pfsense.org> | 2008-07-25 02:28:31 +0000 |
---|---|---|
committer | Matthew Grooms <mgrooms@pfsense.org> | 2008-07-25 02:28:31 +0000 |
commit | 45ee90edb38f3c52a242d248468a992bf19f1c44 (patch) | |
tree | 14e5a6b3c6a7ff340858442dddc9241b3e8fc9a0 /usr/local/www/firewall_rules.php | |
parent | 8057888036bfcacd59c9d0fcf235aba5dc65682b (diff) | |
download | pfsense-45ee90edb38f3c52a242d248468a992bf19f1c44.zip pfsense-45ee90edb38f3c52a242d248468a992bf19f1c44.tar.gz |
Rewrite portions of the user manager to ensure data is properly synced to
the system password and group databases. This is to provide better support
for centralized user management when local account administration is
preferred.
I also took this opportunity to do some housekeeping. A lot of funtions
that were only being used in one place or not at all were removed. The
user page privelege checks were also simplified in preperation for future
work in this area.
Diffstat (limited to 'usr/local/www/firewall_rules.php')
-rwxr-xr-x | usr/local/www/firewall_rules.php | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/usr/local/www/firewall_rules.php b/usr/local/www/firewall_rules.php index a12449a..77b8273 100755 --- a/usr/local/www/firewall_rules.php +++ b/usr/local/www/firewall_rules.php @@ -77,16 +77,6 @@ if (!$if || !isset($iflist[$if])) { $if = "wan"; } -$security_url = "firewall_rules.php?if=". strtolower($if); -if (!isSystemAdmin($HTTP_SERVER_VARS['AUTH_USER'])) { - if(!in_array($security_url, $allowed)) { - // User does not have access -// echo "displaying error {$security_url}"; print_r($allowed); - echo display_error_form("401", "Unauthorized. You do not have access to the page {$pagereq} for interface {$if}"); - exit; - } -} - if ($_POST) { $pconfig = $_POST; |