Hi folks. Is there a way to reference `self` of a ...
# spicedb
c
Hi folks. Is there a way to reference
self
of a resource? For instance in the pseudo below I would like to express the permission to manage a user as I can manage the user if its myself or i have permission to manage users in my organization unit
Copy code
definition user {
    relation orgunit: orgunit

    permission manage = self + orgunit->manage_users
}
5 Views