https://authzed.com logo
#spicedb
Title
# spicedb
r

RNDude

10/26/2021, 10:48 AM
How'd you go about representing this in a SpiceDB Schema (and relation tuples)? - Organizations has 1..n users - Organizations has 1..n departments - Products belong to exactly 1 organization and 0..n departments Users can be constrained to certain departments, which means that they can only access products belonging to one of these departments: https://play.authzed.com/s/IGzFWyS_XUVK/relationships