That's not a supported use case for `Lookup` as wr...
# spicedb
j
That's not a supported use case for
Lookup
as written. You could make a graph node that was the combination of a team and project, and then you could look up teams that relate to that node, but that's probably not what you're looking for. I think your best bet is to either go forward: find the teams that belong to a project, and
Check
each one if the user is a member, or go backward, find every team that a user is a member of (transitively?) and then
Check
whether each one belongs to the project
2 Views