github.com/authzed/spicedb@v1.32.1-0.20240520085336-ebda56537386/internal/services/integrationtesting/testconfigs/3letterrbac.yaml (about) 1 --- 2 schema: |+ 3 definition exm/usr {} 4 5 definition exm/doc { 6 relation wri: exm/usr 7 relation red: exm/usr 8 permission can = red + wri 9 } 10 11 relationships: >- 12 exm/doc:firstdoc#wri@exm/usr:tom#... 13 14 exm/doc:firstdoc#red@exm/usr:fred#... 15 16 exm/doc:seconddoc#red@exm/usr:tom#... 17 assertions: 18 assertTrue: 19 - "exm/doc:firstdoc#can@exm/usr:tom#..." 20 - "exm/doc:firstdoc#can@exm/usr:fred#..." 21 assertFalse: []