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

Joey

07/05/2022, 2:11 PM
Copy code
definition user {
    relation supervisor : user
    permission approve = supervisor + supervisor->approve
}

definition expense_report {
    relation owner : user

    permission edit = owner
    permission delete = owner
    permission approve = owner->approve
}