Skip to content

Commit

Permalink
enforce forcaAll
Browse files Browse the repository at this point in the history
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
  • Loading branch information
ArtificialOwl authored and backportbot[bot] committed May 3, 2021
1 parent 0dfdbe6 commit d63240b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Service/CirclesService.php
Original file line number Diff line number Diff line change
Expand Up @@ -280,10 +280,9 @@ public function detailsCircle($circleUniqueId, $forceAll = false) {
} else {
$circle = $this->circlesRequest->getCircleFromUniqueId($circleUniqueId);
}
if ($this->viewerIsAdmin()
if ($forceAll === true || $this->viewerIsAdmin()
|| $circle->getHigherViewer()
->isLevel(Member::LEVEL_MEMBER)
|| $forceAll === true
) {
$this->detailsCircleMembers($circle);
$this->detailsCircleLinkedGroups($circle);
Expand Down

0 comments on commit d63240b

Please sign in to comment.