I am trying to extend an IDM CREST query filter to hide certain managed resources. The UI makes a request to the IDM schema endpoint: /openidm/schema/?_queryFilter=/resourceCollection sw "managed". I would like to add an additional constraints to hide any results where the _id matches one of three resources.
I have tried the following but it doesn't work as I'd hoped: (/resourceCollection sw "managed") and !((_id eq "managed/hidden1") or (_id eq "managed/hidden2") or (_id eq "managed/hidden3")). This generates the same results as the first query.
Workaround: querying by resourceCollection appears to work: (/resourceCollection sw "managed") and !((resourceCollection eq "managed/hidden1") or (resourceCollection eq "managed/hidden2") or (resourceCollection eq "managed/hidden3"))