Skip to content

Commit

Permalink
fix: User (with a capital letter in the username) cannot post to a sp…
Browse files Browse the repository at this point in the history
…ace from the global stream - MEED-7905 (#4258)

The space member is tokenized and indexed in lowercase. This change will
ensure that the username is passed in lowercase to work around these use
cases.
  • Loading branch information
AzmiTouil authored Dec 10, 2024
1 parent 10429d5 commit f83f085
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ private SpaceSearchFilter getSpaceSearchFilter() {
|| type == ACCESSIBLE
|| type == VISIBLE
|| statusType != null)) {
return new SpaceSearchFilter(username,
return new SpaceSearchFilter(username.toLowerCase(),
filter.getIdentityId(),
filter.getTemplateId(),
filter.getManagingTemplateIds(),
Expand Down

0 comments on commit f83f085

Please sign in to comment.