tbrehm
2011-09-22 92991d5f5f0779ed12af5e9436227838c76dbb35
Fixed permission in remote api for sites_database_get_all_by_user
1 files modified
2 ■■■ changed files
interface/lib/classes/remoting.inc.php 2 ●●● patch | view | raw | blame | history
interface/lib/classes/remoting.inc.php
@@ -2516,7 +2516,7 @@
    public function sites_database_get_all_by_user($session_id, $client_id)
    {
        global $app;
        if(!$this->checkPerm($session_id, 'sites_database_get_all_by_user')) {
        if(!$this->checkPerm($session_id, 'sites_database_get')) {
            $this->server->fault('permission_denied', 'You do not have the permissions to access this function.');
            return false;
        }