ushahidi / SwiftRiver-API

An API for external (third party) applications to post and consume data to/from SwiftRiver.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Optimize RiverService#filterVisible and BucketService#filterVisible

ekala opened this issue · comments

Rather than loop through the list of all a user's rivers/buckets to check whether the querying account has access, use a SQL query to return the list of all accessible rivers/bucket