From bdefdc369cd9223d48efd749b6ff6594199799c3 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 3 Dec 2007 01:20:19 +0000 Subject: Store global privs list in $g['privs'] --- etc/inc/authgui.inc | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.1