kbaseattic / relation_engine_spec

Specifications and config for the KBase Relation Engine
https://kbase.us
MIT License
0 stars 7 forks source link

Tweak some logic in wsprov views #36

Closed jayrbolton closed 5 years ago

jayrbolton commented 5 years ago

This checks workspace ID access on the sublinked objects and tweaks some of the query for performance using arango's explain feature

So below is the "correct" (I think) access control logic for the complicated workspace system for the gsp UI query:

I found that overly complicated to implement in a query though. So instead we have kind of a subset of the above behavior in the query -- we always check for workspace access on every traversal. I think that's good enough for the short term.