github.com/authzed/spicedb@v1.32.1-0.20240520085336-ebda56537386/internal/services/integrationtesting/testconfigs/multipleslashes.yaml (about) 1 --- 2 schema: |+ 3 definition org/identity_team/user {} 4 5 definition org/identity_team/group { 6 relation member: org/identity_team/user | org/identity_team/group#member 7 } 8 9 definition org/docs_team/resource { 10 relation host: org/infra_team/resource 11 12 relation viewer: org/identity_team/group#member | org/identity_team/group#member with foo/bar/only_on_tuesday 13 } 14 15 definition org/infra_team/resource { 16 relation viewer: org/identity_team/group#member | org/identity_team/group#member with foo/bar/only_on_tuesday 17 } 18 19 caveat foo/bar/only_on_tuesday(day_of_week string) { 20 day_of_week == 'tuesday' 21 } 22 23 relationships: >- 24 org/identity_team/group:ultragroup#member@org/identity_team/user:someguy#... 25 26 org/identity_team/group:megagroup#member@org/identity_team/group:ultragroup#member 27 28 org/identity_team/group:supergroup#member@org/identity_team/group:megagroup#member 29 30 org/identity_team/group:subgroup#member@org/identity_team/group:supergroup#member 31 32 org/docs_team/resource:someresource#viewer@org/identity_team/group:subgroup#member 33 34 org/docs_team/resource:someresource#host@org/infra_team/resource:prod-box 35 assertions: 36 assertTrue: [] 37 assertFalse: []