Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed bypassing option filtering in User model
no issue - the logic here bypasses filtering options! - that is wrong, because if we filter out certain options e.g. include - the tests from the previous commit fail because of this - if we don't fix this logic, the tests won't pass, because as said, you can bypass certain logic e.g. remove roles from include - this has worked before, because we passed the wrong options via the API layer - was introduced here 014e2c8, because of #6122 - add proper tests to proof that these queries work!!
- Loading branch information
Showing
3 changed files
with
93 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters