-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Author: Ralf Haferkamp <[email protected]> Date: Thu Feb 16 10:50:16 2023 +0100 graph: Improve appRoleAssignemts filters This should improve the processing of filters for appRoleAssignments a bit when combining them with other filters. We try to avoid reading the full user list if possible. And delay the processing of an appRoleAssignments filter so we can apply it on a subset of user. E.g. a filter: `appRoleAssignments/any(m:m/appRoleId eq 71881883-1768-46bd-a24d-a356a2afdf7f) and memberOf/any(m:m/id eq 509a9dcd-bb37-4f4f-a01a-19dca27d9cfa)` Will be reordered to first process the memberOf filter (which can be executed without reading the full user list) and only apply the appRoleAssignments filter on the resultset of the memberOf filter.
- Loading branch information
Showing
2 changed files
with
22 additions
and
22 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