diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-12-03 01:20:19 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-12-03 01:20:19 +0000 |
commit | bdefdc369cd9223d48efd749b6ff6594199799c3 (patch) | |
tree | 89f4d0625a7dc7101effd7180d9d30b7b12110c9 /etc/inc/authgui.inc | |
parent | ba7ec830b62c015152bdbccc86331619a7c1efde (diff) | |
download | pfsense-bdefdc369cd9223d48efd749b6ff6594199799c3.zip pfsense-bdefdc369cd9223d48efd749b6ff6594199799c3.tar.gz |
Store global privs list in $g['privs']
Diffstat (limited to 'etc/inc/authgui.inc')
-rw-r--r-- | etc/inc/authgui.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/authgui.inc b/etc/inc/authgui.inc index 99e07a6..99013af 100644 --- a/etc/inc/authgui.inc +++ b/etc/inc/authgui.inc @@ -65,6 +65,7 @@ if (!(isSystemAdmin($HTTP_SERVER_VARS['AUTH_USER']))) { if (isset($config['system']['group'][$groupindex[$config['system']['user'][$userindex[$HTTP_SERVER_VARS['AUTH_USER']]]['groupname']]]['pages'])) { $allowed = &$config['system']['group'][$groupindex[$config['system']['user'][$userindex[$HTTP_SERVER_VARS['AUTH_USER']]]['groupname']]]['pages']; } + $g['privs'] = $allowed; $group = $config['system']['user'][$userindex[$HTTP_SERVER_VARS['AUTH_USER']]]['groupname']; /* get the group homepage, to be able to forward |