SSHOC / sshoc-marketplace-backend

Code for the backend
Apache License 2.0
2 stars 0 forks source link

should `/api/item-search` default to only returning items with status=approved? #160

Closed dpancic closed 1 year ago

dpancic commented 2 years ago

In GitLab by @stefanprobst on Mar 1, 2022, 15:01

currently, the item-search endpoint, by default, returns different result sets for unauthenticated and authenticated users. would it make sense to, by default, always return only items with status "approved", and requiring to explicitly set d.status=(suggested OR ingested) or similar when items with other status should be included?

dpancic commented 2 years ago

In GitLab by @tparkola on Mar 9, 2022, 12:55

Done, changes on dev branch.