github.com/authzed/spicedb@v1.32.1-0.20240520085336-ebda56537386/internal/services/integrationtesting/testconfigs/authn.yaml (about) 1 --- 2 schema: >- 3 definition test/user {} 4 5 definition test/resource { 6 relation viewer: test/user 7 permission view = viewer 8 } 9 relationships: | 10 test/resource:first#viewer@test/user:authn|someuser 11 assertions: 12 assertTrue: 13 - "test/resource:first#view@test/user:authn|someuser" 14 assertFalse: 15 - "test/resource:first#view@test/user:someotheruser"