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

rocco

08/23/2022, 6:07 PM
Hello, I'm trying to set a permission that refers to the subject itself, and one way I found is to do this:
Copy code
definition user {
  relation self: user

  permission edit = self
}
with this approach I would have to create a
self
relationships for every user. Is there any way to refer to "self" without explicitly having this relation?