https://authzed.com logo
Title
j

Jwatton

06/08/2022, 10:36 PM
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