Skip to content

Commit

Permalink
Adding lock strictness flag in user view factory.
Browse files Browse the repository at this point in the history
  • Loading branch information
krulis-martin committed May 24, 2024
1 parent 75bb548 commit 095bcb1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/model/view/UserViewFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ private function getUserData(User $user, bool $canViewPrivate, bool $reallyShowE
"externalIds" => $this->getExternalIds($user, $reallyShowEverything),
"ipLock" => $user->isIpLocked(),
"groupLock" => $user->getGroupLock()?->getId(),
"isGroupLockStrict" => $user->isGroupLockStrict(),
];

// really show everything should be used only for user, who is just logging/signing in
Expand Down

0 comments on commit 095bcb1

Please sign in to comment.