When attempting a query request for a user who has a privilege associated with their role, the query should work even if a "filter" is not defined on the privilege.
If a user has the following privilege associated with its role:
They should be able to query:
Cause of this bug:
This bug is a result of the PrivilegeQueryFilterCombiner as part of the visitQueryRequestMethod.
In the case where a privilege has no "filter" field associated with it and it is the only privilege associated with the user, then the combined query result is
This is because the "or" method defaults to "false" if the list is empty (which in this case it is). In the case that there are no filters defined for any privileges, we want to maintain only the original filter, so that we return the appropriate response.