<@927998257580367953> not 100% sure on the design ...
# spicedb
@Prchowdh not 100% sure on the design of what you want, but one way might be something like:
Copy code
definition user {}

definition department {
  relation manager: user
  relation view_employee: department#manager
  relation transfer_employee: department#manager

definition employee {
  relation department: department
  permission view = department->view_employee
  permission transfer = department->transfer_employee