`definition user {} definition organization{ ...
# spicedb
j
Copy code
definition user {}

  definition organization{
          relation admin: user
   }
      
   definition company {
          relation organization: organization
          permission edit_data = organization->admin
   }
we create the company/organization relation first and store the resulting zedtoken with the company and the organization/user relation after. When we use the token stored with the company it seems like that snapshot is not guaranteed to include the organization/user relation that was just created
4 Views