# 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
  reviewer_1:
    id: 456c46ec-a42a-4b29-8b84-ad4a338de621
    roles:
      - user
    attr:
      type: human
      tenants:
        "b25cdcad-68b6-4c06-a23b-5e6fd4706bf6":
          tenant_uuid: "b25cdcad-68b6-4c06-a23b-5e6fd4706bf6"
          tenant_type: "subaccount"
          roles:
            content_can_review_digital_audio:
              role: content_can_review_digital_audio
  reviewer_2:
    id: a30daaab-f35f-48b5-89c3-a6c4abcc1273
    roles:
      - user
    attr:
      type: human
      tenants:
        "f2911cc7-0a08-4e8d-9773-d39eac7be8df":
          tenant_uuid: "f2911cc7-0a08-4e8d-9773-d39eac7be8df"
          tenant_type: "account"
          roles:
            content_can_review_digital_audio:
              role: content_can_review_digital_audio
  bulk_creator_1:
    id: 123e4567-e89b-12d3-a456-426614174000
    roles:
      - user
    attr:
      type: human
      tenants:
        "b25cdcad-68b6-4c06-a23b-5e6fd4706bf6":
          tenant_uuid: "b25cdcad-68b6-4c06-a23b-5e6fd4706bf6"
          tenant_type: "subaccount"
          roles:
            content_ccm_digital_audio_can_bulk_create:
              role: content_ccm_digital_audio_can_bulk_create
  bulk_creator_2:
    id: 789e0123-e89b-12d3-a456-426614174999
    roles:
      - user
    attr:
      type: human
      tenants:
        "f2911cc7-0a08-4e8d-9773-d39eac7be8df":
          tenant_uuid: "f2911cc7-0a08-4e8d-9773-d39eac7be8df"
          tenant_type: "account"
          roles:
            content_ccm_digital_audio_can_bulk_create:
              role: content_ccm_digital_audio_can_bulk_create
  workstation_catalog_1:
    id: 123e4567-e89b-12d3-a456-426614174000
    roles:
      - user
    attr:
      type: human
      tenants:
        "b25cdcad-68b6-4c06-a23b-5e6fd4706bf6":
          tenant_uuid: "b25cdcad-68b6-4c06-a23b-5e6fd4706bf6"
          tenant_type: "subaccount"
          roles:
            workstation_catalog:
              role: workstation_catalog
  workstation_catalog_2:
    id: 789e0123-e89b-12d3-a456-426614174999
    roles:
      - user
    attr:
      type: human
      tenants:
        "f2911cc7-0a08-4e8d-9773-d39eac7be8df":
          tenant_uuid: "f2911cc7-0a08-4e8d-9773-d39eac7be8df"
          tenant_type: "account"
          roles:
            workstation_catalog:
              role: workstation_catalog
  workstation_admin_1:
    id: 123e4567-e89b-12d3-a456-426614174000
    roles:
      - user
    attr:
      type: human
      tenants:
        "b25cdcad-68b6-4c06-a23b-5e6fd4706bf6":
          tenant_uuid: "b25cdcad-68b6-4c06-a23b-5e6fd4706bf6"
          tenant_type: "subaccount"
          roles:
            workstation_admin:
              role: workstation_admin
  workstation_admin_2:
    id: 789e0123-e89b-12d3-a456-426614174999
    roles:
      - user
    attr:
      type: human
      tenants:
        "f2911cc7-0a08-4e8d-9773-d39eac7be8df":
          tenant_uuid: "f2911cc7-0a08-4e8d-9773-d39eac7be8df"
          tenant_type: "account"
          roles:
            workstation_admin:
              role: workstation_admin
  lambda_product_staging_submit_product:
    id: 84df02ad-874d-45df-b2d1-694de128475c
    roles:
      - user
    attr:
      type: machine
      tenants: {}
  lambda-content-store-product-metadata:
    id: 071abc96-4172-4c1a-89a2-842fb994f705
    roles:
      - user
    attr:
      type: machine
      tenants: {}
  lambda-content-index-add-product:
    id: ea0e755b-b799-4fa9-bce1-3177c49c0d46
    roles:
      - user
    attr:
      type: machine
      tenants: {}
  lambda-content-digital-revision-apply-assets:
    id: 786287f3-1a21-44cb-9b6f-3e955fc38ee7
    roles:
      - user
    attr:
      type: machine
      tenants: {}
  lambda-populate-hfa-pending-request:
    id: a4e58448-c419-462f-b1f8-548128a6e5a0
    roles:
      - user
    attr:
      type: machine
      tenants: {}
  ows-product-integration-test:
    id: fb3b2960-bb49-4eff-9661-88f2321278d8
    roles:
      - user
    attr:
      type: machine
      tenants: {}
  content_moderation_manager_1:
    id: c1d2e3f4-a5b6-7890-cdef-123456789abc
    roles:
      - user
    attr:
      type: human
      tenants:
        "b25cdcad-68b6-4c06-a23b-5e6fd4706bf6":
          tenant_uuid: "b25cdcad-68b6-4c06-a23b-5e6fd4706bf6"
          tenant_type: "subaccount"
          roles:
            content_moderation_tool_can_manage:
              role: content_moderation_tool_can_manage
  content_moderation_manager_2:
    id: d4e5f6a7-b8c9-0123-defg-456789abcdef
    roles:
      - user
    attr:
      type: human
      tenants:
        "f2911cc7-0a08-4e8d-9773-d39eac7be8df":
          tenant_uuid: "f2911cc7-0a08-4e8d-9773-d39eac7be8df"
          tenant_type: "account"
          roles:
            content_moderation_tool_can_manage:
              role: content_moderation_tool_can_manage
