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

Joey

09/20/2023, 1:05 AM
Copy code
definition document {
  relation reviewer: user
  relation commenter: user

  relation read_role: document#reviewer | document#commenter

  permission read = read_role
}