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

Fixes #5562 ACLs were not applied correctly if management lists

Problem was in commit b2c7c09a
parent 85f37a4a
......@@ -74,7 +74,7 @@ class filterLDAP
*
* \param boolean $checkAcl
*/
static function get_list($parent, $base, $filter, $attributes, $category, $objectStorage, $scope, $sizelimit = TRUE, $checkAcl = FALSE)
static function get_list($parent, $base, $filter, $attributes, $category, $objectStorage, $scope, $sizelimit = TRUE, $skipAcl = FALSE)
{
global $config, $ui;
......@@ -151,7 +151,7 @@ class filterLDAP
$dn = $attrs['dn'];
/* Skip ACL checks if we are forced to skip those checks */
if (!$checkAcl) {
if ($skipAcl) {
$result[] = $attrs;
} else {
// Check entry permission
......
......@@ -150,7 +150,7 @@ class userManagement extends simpleManagement
}
}
if (count($disallowed)) {
msg_dialog::display(_('Permission'), msgPool::permDelete($disallowed), INFO_DIALOG);
msg_dialog::display(_('Permission'), msgPool::permModify($disallowed), INFO_DIALOG);
}
// Try to lock/unlock the rest of the entries.
......
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