cesium-ml / baselayer

Fully customizable (scientific, compute-intensive) web application template
http://cesium-ml.org/baselayer/
31 stars 18 forks source link

minimize data transferred over network in bulk permission check #218

Closed dannygoldstein closed 3 years ago

dannygoldstein commented 3 years ago

this pr moves the anti join for the bulk permission check from the python to sql, causing only the inaccessible IDs to be sent back over the network, instead of the accessible ids. In general, the inaccessible IDs should be a much smaller list than the accessible IDs, so this should further improve the efficiency of the bulk record check.