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

Dimitris

04/07/2022, 9:05 AM
@emre.savci maybe something like:
Copy code
definition user {}

definition resource {
    relation has: scope
    permission access = has->access
}

definition role {
    relation is_in: user
    permission access = is_in
}

definition scope {
    relation has: role
    permission access = has->access
}