Commit db085ed8 authored by Côme Chilliet's avatar Côme Chilliet

Merge branch '6036-webservice-does-not-allow-search-on-own-dn-with-self-acls' into '1.4-dev'

Resolve "Webservice does not allow search on own dn with self ACLs"

See merge request fusiondirectory/fd-plugins!686
parents 9f5b1a2f ac090ea0
......@@ -220,7 +220,7 @@ class fdRPCService
protected function _ls ($type, $attrs = NULL, $ou = NULL, $filter = '', $scope = 'subtree', $templateSearch = FALSE)
{
global $config, $ui;
$this->checkAccess($type);
$this->checkAccess($type, NULL, $ou);
if (!in_array($scope, ['base','one','subtree'])) {
throw new WebServiceError(sprintf('Invalid scope "%s"', $scope));
}
......
Markdown is supported
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