From 92991d5f5f0779ed12af5e9436227838c76dbb35 Mon Sep 17 00:00:00 2001 From: tbrehm Date: Thu, 22 Sep 2011 08:30:30 +0000 Subject: [PATCH] Fixed permission in remote api for sites_database_get_all_by_user --- interface/lib/classes/remoting.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/lib/classes/remoting.inc.php b/interface/lib/classes/remoting.inc.php index 5b3ba95355..0dfed21eda 100644 --- a/interface/lib/classes/remoting.inc.php +++ b/interface/lib/classes/remoting.inc.php @@ -2516,7 +2516,7 @@ class remoting { 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; } -- GitLab