You can model this with a permission:
# spicedb
p
You can model this with a permission:
Copy code
definition resource {
  relation admin: user
  relation owner: user

  permission can_do_everything = owner + admin 
}
s
yes @paddya91 I originally thought of it like that, but then I was trying to think in terms of compositional relations where one relation is composed of others.