rules:
  - path: /episode/<int>/transcript/file
    methods: [GET]
    profiles:
      OrchAdminProfile: ['*']

  - path: <*>
    methods: [GET]
    profiles:
      PodcastProfile: ['*']

  - path: <*>
    methods: ['*']
    profiles:
      OrchAdminProfile: ['*']

  - path: /users
    methods: [POST]
    profiles:
      PodcastProfile: [admin, network-admin, podcast-admin]

  - path: /users/<int>
    methods: [DELETE]
    profiles:
      PodcastProfile: [admin]

  - path: /users/<int>
    methods: [PUT]
    profiles:
      PodcastProfile: [admin]

  - path: /users-last-login/<str>
    methods: [PUT]
    profiles:
      PodcastProfile: ['*']

  - path: /users/favorites/podcast
    methods: [PUT]
    profiles:
      PodcastProfile: [admin, network-admin]

  - path: /podcasts/<int>/episodes/planned-inventory
    methods: [POST]
    profiles:
      PodcastProfile: [admin, producer, network-admin]

  - path: /ad-reads
    methods: [POST]
    profiles:
      PodcastProfile: [network-admin, admin]
      PublishingProfile: [administrator]

  - path: /podcasts/<int>
    methods: [DELETE]
    profiles:
      PodcastProfile: [admin]

  - path: /podcasts/<int>
    methods: [PUT]
    profiles:
      PodcastProfile: [admin, network-admin, producer]

  - path: /podcasts
    methods: [POST]
    profiles:
      PodcastProfile: [admin, network-admin, producer]

  - path: /networks
    methods: [POST]
    profiles:
      PodcastProfile: [admin]

  - path: /podcasts/<int>/episodes/<int>
    methods: [DELETE]
    profiles:
      PodcastProfile: [admin]

  - path: /podcast-links
    methods: [POST]
    profiles:
      PodcastProfile: [admin]

  - path: /podcasts/<int>/episodes/<int>
    methods: [PUT]
    profiles:
      PodcastProfile: [admin, producer, network-admin]

  - path: /episode/<int>/transcript
    methods: [PUT]
    profiles:
      PodcastProfile: [admin, network-admin, producer]

  - path: /episode/<int>/transcript
    methods: [DELETE]
    profiles:
      PodcastProfile: [admin, network-admin, producer]

  - path: /ad-reads/<int>
    methods: [PUT]
    profiles:
      PodcastProfile: [admin, network-admin, producer]
      PublishingProfile: [administrator]

  - path: /ad-reads/<int>
    methods: [DELETE]
    profiles:
      PodcastProfile: [admin, network-admin]

  - path: /users/favorites/chart
    methods: [PUT]
    profiles:
      PodcastProfile: [admin, network-admin]

  - path: /users/settings
    methods: [PUT]
    profiles:
      PodcastProfile: [network-admin]

  - path: /episode/<int>/reupload-mp3
    methods: [PUT]
    profiles:
      PodcastProfile: [admin]

  - path: /episode-link
    methods: [POST]
    profiles:
      PodcastProfile: [admin]

  - path: /podcasts/<int>/episodes/<int>/points
    methods: [POST]
    profiles:
      PodcastProfile: [admin, producer, network-admin]

  - path: /podcasts/<int>/episodes
    methods: [POST]
    profiles:
      PodcastProfile: [producer, admin, network-admin]

  - path: /episode-link/episode/<int>/store/<int>
    methods: [DELETE]
    profiles:
      PodcastProfile: [admin]

  - path: /ad-reads
    methods: [GET]
    profiles:
      PublishingProfile: [administrator]

  - path: /users-by-id
    methods: [GET]
    profiles:
      PublishingProfile: [administrator]

  - path: /users/current
    methods: [GET]
    profiles:
      PublishingProfile: [administrator]

  - path: /networks
    methods: [GET]
    profiles:
      PublishingProfile: [administrator, admin, network-admin]

  - path: /podcasts
    methods: [GET]
    profiles:
      PublishingProfile: [administrator]

  - path: /users
    methods: [GET]
    profiles:
      PublishingProfile: [administrator]

  - path: /ad-read-comment
    methods: [POST]
    profiles:
      PodcastProfile: [producer, admin, network-admin]

  - path: /ad-read-comment/<int>
    methods: [DELETE]
    profiles:
      PodcastProfile: [producer, admin, network-admin]
  
  - path: /podcasts/seasons-status
    methods: [POST]
    profiles:
      PodcastProfile: [admin, network-admin, producer]
  
  - path: /feed
    methods: [POST]
    profiles:
      PodcastProfile: [admin, network-admin, producer]

  - path: /feeds-by-show-family-id/<int>
    methods: [GET]
    profiles:
      PodcastProfile: [admin, network-admin, producer]

  - path: /replicate-single-episode
    methods: [POST]
    profiles:
      PodcastProfile: [admin, network-admin, producer]

  - path: /episode-replication-status
    methods: [PUT]
    profiles:
      PodcastProfile: [admin, network-admin, producer]

  - path: /failed-bulk-episodes-replication-status
    methods: [GET]
    profiles:
      PodcastProfile: ['*']
  
  - path: /replicate-episodes-and-create-assets
    methods: [POST]
    profiles:
      PodcastProfile: [admin, network-admin, producer]
