Skip to content

Commit

Permalink
Missing users from Share Dialog (#3299)
Browse files Browse the repository at this point in the history
  • Loading branch information
bigglesandginger authored Apr 11, 2024
1 parent 55aaae6 commit 09a867a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,8 @@ public PermissionUser getUser(String id) {
public List<PermissionUser> getUsers() {
List<PermissionUser> response = new ArrayList<>();
UsersResource usersResource = keycloak.realm(REALM_NAME).users();
List<UserRepresentation> users = usersResource.list();
Integer maxUsers = usersResource.count();
List<UserRepresentation> users = usersResource.list(0, maxUsers + 1);
for (UserRepresentation userRepresentation : users) {
if (userRepresentation.getEmail() == null || userRepresentation.getEmail().isBlank()) {
continue;
Expand Down

0 comments on commit 09a867a

Please sign in to comment.