mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 09:13:19 -04:00
Merge pull request #54173 from nextcloud/backport/54167/stable30
This commit is contained in:
commit
26a41b3f46
1 changed files with 3 additions and 0 deletions
|
|
@ -212,6 +212,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