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

Joey

11/22/2021, 2:54 AM
Copy code
definition user {}

definition vendor {
   relation viewer: user
}

definition tenant {
   relation parent_vendor: vendor
   relation viewer: user
   permission view = viewer + parent_vendor->viewer
}