Lookup call is a call to the Authzed API to lookup all the objects under a relation for which a particular user is a member.
Lookup calls are usually used when you need to learn the membership of a relation for a particular user: By calling Lookup, a list of object IDs is returned for which the Check for the specified relation and user would succeed.
Lookup call is formed by specifying the relation on which to lookup, along with the user for whom to perform the lookup.
To make an lookup call, issue an
LookupRequest to the API:
Lookup call will return the list of object IDs for which the user has access:
For example, imagine if we had this namespace:
view for a user
someuser would return something along the lines of:
This represents the set of
document's on which the user