summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-12-03 01:20:19 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-12-03 01:20:19 +0000
commitbdefdc369cd9223d48efd749b6ff6594199799c3 (patch)
tree89f4d0625a7dc7101effd7180d9d30b7b12110c9
parentba7ec830b62c015152bdbccc86331619a7c1efde (diff)
downloadpfsense-bdefdc369cd9223d48efd749b6ff6594199799c3.zip
pfsense-bdefdc369cd9223d48efd749b6ff6594199799c3.tar.gz
Store global privs list in $g['privs']
-rw-r--r--etc/inc/authgui.inc1
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
OpenPOWER on IntegriCloud