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

Joey

02/15/2022, 3:10 AM
as an example: let's say you have a schema like so:
Copy code
definition user {}

definition document {
  relation reader: user
  relation writer: user
  permission write = writer
  permission view = reader + write
}
and you want to check if the user can read and write