Skip to content

Commit

Permalink
fixed problematic space filter for moderators when browsing the defau…
Browse files Browse the repository at this point in the history
…lt space
  • Loading branch information
albogdano committed Jul 9, 2024
1 parent 36a5838 commit 3b9a0e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ private String getQueryWithPossibleExtension(String query, HttpServletRequest re
}

private boolean isSpaceFilteredRequest(Profile authUser, String space) {
return !(utils.isDefaultSpace(space) && utils.isMod(authUser)) && utils.canAccessSpace(authUser, space);
return utils.canAccessSpace(authUser, space);
}

private Pager getPagerFromCookie(HttpServletRequest req, Pager defaultPager) {
Expand Down

0 comments on commit 3b9a0e6

Please sign in to comment.