|
@@ 247-254 (lines=8) @@
|
| 244 |
|
$acls = $this->aclMapper->findAll($boardId); |
| 245 |
|
/** @var Acl $acl */ |
| 246 |
|
foreach ($acls as $acl) { |
| 247 |
|
if ($acl->getType() === Acl::PERMISSION_TYPE_USER) { |
| 248 |
|
$user = $this->userManager->get($acl->getParticipant()); |
| 249 |
|
if ($user === null) { |
| 250 |
|
$this->logger->info('No user found for acl rule ' . $acl->getId()); |
| 251 |
|
continue; |
| 252 |
|
} |
| 253 |
|
$users[$user->getUID()] = new User($user); |
| 254 |
|
} |
| 255 |
|
if ($acl->getType() === Acl::PERMISSION_TYPE_GROUP) { |
| 256 |
|
$group = $this->groupManager->get($acl->getParticipant()); |
| 257 |
|
if ($group === null) { |
|
@@ 255-264 (lines=10) @@
|
| 252 |
|
} |
| 253 |
|
$users[$user->getUID()] = new User($user); |
| 254 |
|
} |
| 255 |
|
if ($acl->getType() === Acl::PERMISSION_TYPE_GROUP) { |
| 256 |
|
$group = $this->groupManager->get($acl->getParticipant()); |
| 257 |
|
if ($group === null) { |
| 258 |
|
$this->logger->info('No group found for acl rule ' . $acl->getId()); |
| 259 |
|
continue; |
| 260 |
|
} |
| 261 |
|
foreach ($group->getUsers() as $user) { |
| 262 |
|
$users[$user->getUID()] = new User($user); |
| 263 |
|
} |
| 264 |
|
} |
| 265 |
|
|
| 266 |
|
if ($this->circlesEnabled && $acl->getType() === Acl::PERMISSION_TYPE_CIRCLE) { |
| 267 |
|
try { |