tbrehm
2010-07-08 0d27f8b7edc9ca4c1d05cd82c364973b7d5c7fda
interface/lib/classes/remoting_lib.inc.php
@@ -166,7 +166,9 @@
            $this->sys_userid            = $user['userid'];
            $this->sys_default_group     = $user['default_group'];
            $this->sys_groups             = $user['groups'];
            $_SESSION["s"]["user"]["typ"] = $user['typ'];
            // $_SESSION["s"]["user"]["typ"] = $user['typ'];
            // we have to force admin priveliges for the remoting API as some function calls might fail otherwise.
            $_SESSION["s"]["user"]["typ"] = 'admin';
         }
      return true;