mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
Merge pull request #54174 from nextcloud/backport/54167/stable31
This commit is contained in:
commit
4151224c93
1 changed files with 3 additions and 0 deletions
|
|
@ -184,6 +184,9 @@ class Principal implements BackendInterface {
|
|||
if ($this->hasGroups || $needGroups) {
|
||||
$userGroups = $this->groupManager->getUserGroups($user);
|
||||
foreach ($userGroups as $userGroup) {
|
||||
if ($userGroup->hideFromCollaboration()) {
|
||||
continue;
|
||||
}
|
||||
$groups[] = 'principals/groups/' . urlencode($userGroup->getGID());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue