Hey everyone! We are just starting to add SpiceDB ...
# spicedb
l
Hey everyone! We are just starting to add SpiceDB into our architecture and we have a data modeling question. Within our app we have a tenant, under a tenant there are multiple divisions and a user may be apart of multiple divisions. Data from one division should never be visible by another division. When a user logs in, they log into a specific division and therefore see that division's data. Can/should this data segragation be implemented within SpiceDB? After reading through the docs it is not clear to me how we would, on a list endpoint, only return results from the current division that the user is logged into.