github.com/authzed/spicedb@v1.32.1-0.20240520085336-ebda56537386/internal/services/integrationtesting/testconfigs/widearrow.yaml (about) 1 --- 2 schema: |+ 3 definition user {} 4 5 definition folder { 6 relation viewer: user 7 permission view = viewer 8 } 9 10 definition document { 11 relation folder: folder 12 permission view = folder->view 13 } 14 15 relationships: >- 16 document:seconddoc#folder@folder:folder1 17 18 document:seconddoc#folder@folder:folder2 19 20 document:seconddoc#folder@folder:folder3 21 22 document:seconddoc#folder@folder:folder4 23 24 document:seconddoc#folder@folder:folder5 25 26 document:seconddoc#folder@folder:folder6 27 28 document:seconddoc#folder@folder:folder7 29 30 document:seconddoc#folder@folder:folder8 31 32 document:seconddoc#folder@folder:folder9 33 34 document:seconddoc#folder@folder:folder10 35 36 document:seconddoc#folder@folder:folder11 37 38 document:seconddoc#folder@folder:folder12 39 40 document:seconddoc#folder@folder:folder13 41 42 document:seconddoc#folder@folder:folder14 43 44 document:seconddoc#folder@folder:folder15 45 46 folder:folder12#viewer@user:tom#... 47 assertions: 48 assertTrue: 49 - 'document:seconddoc#view@user:tom#...'