github.com/authzed/spicedb@v1.32.1-0.20240520085336-ebda56537386/internal/services/integrationtesting/testconfigs/simplerecursive.yaml (about)

     1  ---
     2  schema: |+
     3      definition srrr/user {}
     4  
     5      definition srrr/group {
     6      	relation member: srrr/user | srrr/group#member
     7      }
     8  
     9      definition srrr/resource {
    10      	relation viewer: srrr/group#member
    11      }
    12  
    13  relationships: >-
    14      srrr/group:ultragroup#member@srrr/user:someguy#...
    15  
    16      srrr/group:megagroup#member@srrr/group:ultragroup#member
    17  
    18      srrr/group:supergroup#member@srrr/group:megagroup#member
    19  
    20      srrr/group:subgroup#member@srrr/group:supergroup#member
    21  
    22      srrr/resource:someresource#viewer@srrr/group:subgroup#member
    23  assertions:
    24      assertTrue: []
    25      assertFalse: []