From: konrad Date: Sun, 14 Dec 2008 13:47:05 +0000 (+0000) Subject: fix: accept all existing roles X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=90ee9f6792d5a1f1ead0c88e664e12b4111f3eda;p=web%2Fkonrad%2Fsmoke.git fix: accept all existing roles git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@215 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33 --- diff --git a/www/inc/machine/session.php b/www/inc/machine/session.php index 94f96a9..f71dfde 100644 --- a/www/inc/machine/session.php +++ b/www/inc/machine/session.php @@ -334,7 +334,7 @@ function setUserAclXml($txt) header("X-MagicSmoke-Status: SyntaxError"); die(tr("expected exactly 1 ACL element")); } - global $db,$ALLOWEDREQUESTS; + global $db,$ALLOWEDREQUESTS,$SPECIALROLES; $roles=$ALLOWEDREQUESTS; foreach($SPECIALROLES as $rl) $roles[]=$rl;