Commit 92991d5f authored by tbrehm's avatar tbrehm
Browse files

Fixed permission in remote api for sites_database_get_all_by_user

parent e0566d4e
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment