rules:
  # Catalog, Marketing, analytic and accounting: get pricing tier.
  - path: /pricing/pricing-family/<int>/orchard-pricing-tier
    methods: [GET]
    groups:
      alw: [1, 2, 3, 5]
      oa: ['*']
  # Catalog, Marketing, analytic and accounting: get pricing for vendor.
  - path: /pricing/vendor/<int>/<int>/default
    methods: [GET, DELETE, PUT]
    groups:
      alw: [1, 2, 3, 5]
      oa: ['*']
  - path: /pricing/subaccount/<int>/<int>/default
    methods: [GET, DELETE, PUT]
    groups:
      alw: [1, 2, 3, 5]
      oa: ['*']

  # Catalog: other pricing endpoints.
  - path: /pricing/legacy/music/product/<int>/jit
    methods: [GET]
    groups:
      alw: [1]
      oa: ['*']
  - path: /pricing/pricing-family/<int>/store-pricing-scheme
    methods: [GET]
    groups:
      alw: [1]
      oa: ['*']
  - path: /pricing/product/<int>/<*>
    methods: [GET, PUT]
    groups:
      alw: [1]
      oa: ['*']
  - path: /pricing/track/<int>/override/<int>
    methods: [PUT]
    groups:
      alw: [1]
      oa: ['*']

  - path: /pricing/store-pricing-scheme/<int>
    methods: [GET]
    groups:
      alw: [1]
      oa: ['*']
  # Admin: Allow all.
  - path: <*>
    methods: ['*']
    groups:
      alw: [4]
      oa: ['*']
