Allow multiple filter param values in roles and policies list API #134
Labels
feat
New feature or request.
good first issue
A good issue to tackle when being a novice to the project.
help wanted
We are looking for help on this one.
Milestone
This is a continuation of #124. Currently, only one value can per filter param is supported in the list API. For example, current filter only allows queries like
/policies/member=foo&subject=bar
, but often times a user needs multiple value search likepolicies/member=foo&member=baz&subject=bar
This is easy to implement in the storage filter, but the question is what does it mean to pass multiple values? Does it mean AND or OR? I doubt it is possible to support both with the same url format. This REST spec does not provide any guideline for this. This page(https://stackoverflow.com/questions/1746507/authoritative-position-of-duplicate-http-get-query-keys) seems to suggest that the intended behavior is AND.
What are your thoughts?
The text was updated successfully, but these errors were encountered: