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

Joey

01/25/2022, 10:04 PM
Copy code
definition user {}

definition resource {
  relation reader: user
  relation writer: user
  relation commenter: user

  permission view = reader + writer + commenter
  permission edit = writer
  permission can_comment = writer + commenter
}