Skip to content

Get the list of indirect relationships #49

Answered by rhamzeh
vhpoet asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @vhpoet - thanks for asking!

We list a bit of our thought process on this in the Search with Permissions document.

TLDR - It depends on:

  • Number of objects that your database can return from a search query
  • Number of objects of a certain type the user could have access to
  • Percentage of objects in a type the user could have access to

For some of those cases, we have an experimental endpoint called ListObjects, which given a type, a relation and a user, returns a list of object ids the user can access.

Note that the current approach is experimental and not ready for production use, and comes with a few caveats including subpar latency at scale. Though we are working on optimizing it and…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by vhpoet
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants