rules:
  - path: /vendor/<int>/product_code/<*>
    methods: [HEAD]
    profiles:
      LabelProfile: [catalog]

  - path: /product/<str>/<str>/product_code/<*>
    methods: [ GET ]
    profiles:
      ContentProfile: [bulk_create_digital_audio]

  - path: /language/<int>
    methods: [GET]
    profiles:
      LabelProfile: [catalog]

  - path: /localization/product/<int>
    methods: [GET]
    profiles:
      LabelProfile: [catalog]

  - path: /localization/product/<int>/language/<int>
    methods: [POST, DELETE]
    profiles:
      LabelProfile: [catalog]

  - path: /product/<int>/copy/digital
    methods: [POST]
    profiles:
      LabelProfile: [catalog]

  - path: /product/<int>/copy/physical
    methods: [POST]
    profiles:
      LabelProfile: [catalog]

  - path: /product/<int>
    methods: [GET, DELETE]
    profiles:
      LabelProfile: [catalog]
      ContentProfile: [bulk_create_digital_audio]

  - path: /product/upc/<int>
    methods: [GET]
    profiles:
      ContentProfile: [dolby_atmos_packager_alpha]
      LabelProfile: [catalog, analytics]
      InsightsProfile: [analytics]
      PublishingProfile: ['*']

  - path: /product/<int>/document
    methods: [GET]
    profiles:
      LabelProfile: ['*']
      InsightsProfile: [analytics]
      PublishingProfile: ['*']

  - path: /products/documents
    methods: [POST]
    profiles:
      ContentProfile: [dolby_atmos_packager_alpha]
      LabelProfile: [administrator]
      OrchAdminProfile: ['*']

  # Admin: Allow all.
  - path: <*>
    methods: ['*']
    profiles:
      LabelProfile: [administrator]
      OrchAdminProfile: ['*']
