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