fix: accept all existing roles
authorkonrad <konrad@6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33>
Sun, 14 Dec 2008 13:47:05 +0000 (13:47 +0000)
committerkonrad <konrad@6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33>
Sun, 14 Dec 2008 13:47:05 +0000 (13:47 +0000)
git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@215 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33

www/inc/machine/session.php

index 94f96a9..f71dfde 100644 (file)
@@ -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;