# yaml-language-server: $schema=https://api.cerbos.dev/latest/cerbos/policy/v1/TestFixture/Principals.schema.json
---
principals:
  some_hacker:
    id: some_hacker
    roles:
      - user
    attr:
      type: human
      tenants:
        "does_not_matter":
          tenant_uuid: "does_not_matter"
          tenant_type: "account"
          roles:
            audience_development_analyst:
              role: audience_development_analyst
  payee:
    id: "payee_id"
    roles:
      - user
    attr:
      type: human
      tenants:
        "d6455851-3f86-48d8-b102-8d996eb92645":
          tenant_uuid: "d6455851-3f86-48d8-b102-8d996eb92645"
          tenant_type: "company_brand"
          roles:
            payee:
              role: payee
  team_member:
    id: "27ead1cc-741a-48c3-a27f-00a6f91aaa87" # Victor
    roles:
      - user
    attr:
      type: human
      tenants:
        "d6455851-3f86-48d8-b102-8d996eb92645":
          tenant_uuid: "d6455851-3f86-48d8-b102-8d996eb92645"
          tenant_type: "company_brand"
          roles:
            payee:
              role: payee
            administator:
              role: administator
