fix: filter user by hierarchy on task
This commit is contained in:
parent
8d6ccd4185
commit
1a73f4e9c6
@ -419,7 +419,7 @@ if (!empty($conf->categorie->enabled))
|
||||
// If the user can view user other than himself
|
||||
$moreforfilter .= '<div class="divsearchfield">';
|
||||
$moreforfilter .= '<div class="inline-block hideonsmartphone"></div>';
|
||||
$includeonly = 'hierachyme';
|
||||
$includeonly = 'hierarchyme';
|
||||
if (empty($user->rights->user->user->lire)) {
|
||||
$includeonly = array($user->id);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user