mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-11 22:10:51 -05:00
1552f6df5a
This add support for filtering on the `appRoleAssignment` relation of users. E.g. ``` $filter=appRoleAssignments/any(m:m/appRoleId eq '262982c1-2362-4afa-bfdf-8cbfef64a06e') ``` combining it with a filter on groupMemberShip does also work: ``` $filter=memberOf/any(m:m/id eq '262982c1-2362-4afa-bfdf-8cbfef64a06e') and appRoleAssignments/any(m:m/appRoleId eq 'd7beeea8-8ff4-406b-8fb6-ab2dd81e6b11') ``` The filter is still very inefficient as it always needs to get the full users list. We need to adapt it to only filter on a subset of users when using this filter 'and' combined with other filters. Closes: #5488