Consider the "all" group when determining privileges. Fixes #9051

This commit is contained in:
jim-p 2018-10-19 09:39:49 -04:00
parent 5142c80abb
commit fe1afbb754
2 changed files with 2 additions and 2 deletions

View File

@ -331,7 +331,7 @@ function get_user_privileges(& $user) {
global $config, $_SESSION;
$authcfg = auth_get_authserver($config['system']['webgui']['authmode']);
$allowed_groups = array();
$allowed_groups = array('all');
$privs = $user['priv'];
if (!is_array($privs)) {

View File

@ -239,7 +239,7 @@ function getAllowedPages($username, &$attributes = array()) {
}
$allowed_pages = array();
$allowed_groups = array();
$allowed_groups = array('all');
phpsession_begin();
if ($_SESSION['remoteauth']) {