Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
amcclain committed Apr 3, 2024
2 parents a373055 + e187c50 commit 46c195c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@
* Requires `hoist-react >= 63.0` for client-side support of the new `track` and `submitError` endpoints.
## 18.5.2 - 2024-04-03
### 🐞 Bug Fixes
* Fixed bug in `DefaultRoleService.doLoadUsersForDirectoryGroups` where LDAP members with `null`
samAccountNames were not being filtered out, causing `NullPointerExceptions`.
## 18.5.1 - 2024-03-08
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,9 @@ class DefaultRoleService extends BaseRoleService {
ldapService
.lookupGroupMembers(foundGroups)
.each {name, members ->
ret[name] = members.collect(new HashSet()) { it.samaccountname.toLowerCase()}
ret[name] = members.collect(new HashSet()) { it.samaccountname?.toLowerCase() }
// Exclude members without a samaccountname (e.g. email-only contacts within a DL)
ret[name].remove(null)
}

return ret
Expand Down

0 comments on commit 46c195c

Please sign in to comment.