https://authzed.com logo
#spicedb
Title
# spicedb
j

Joey

06/17/2022, 7:17 PM
Copy code
definition user {
  relation this: user
  relation persona: persona
  permission user_or_persona = this + persona
}

definition persona {}

definition thing {
  relation reader: user#user_or_persona | persona
}