github.com/authzed/spicedb@v1.32.1-0.20240520085336-ebda56537386/pkg/schemadsl/parser/tests/multidef.zed (about) 1 definition user {} 2 3 definition namespace { 4 relation adminer: user 5 permission admin = adminer 6 } 7 8 definition repository { 9 relation namespace: namespace 10 relation reader: user 11 relation writer: user#anotherrel 12 13 permission read = reader + writer + namespace->admin 14 permission write = writer 15 }