Commit 2faf61c5 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(webservice): Do not bypass ACL when listing objects

The ls method of the webservice was bypassing ACLs and returning too
 much data.
The count method is still bypassing ACL but I can’t decide if this
 should be fixed or not (and how)

issue #5704
Showing with 1 addition and 1 deletion
+1 -1
......@@ -193,7 +193,7 @@ class fdRPCService
protected function _ls ($type, $attrs = NULL, $ou = NULL, $filter = '')
{
$this->checkAccess($type);
return objects::ls($type, $attrs, $ou, $filter);
return objects::ls($type, $attrs, $ou, $filter, TRUE);
}
/*!
......
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