Skip to content

feat: shipment creation rate-limit exemption list for trusted suppliers #472

Description

@shakurJJ

Summary

Shipment creation is rate-limited per address (#363), which also throttles high-volume trusted suppliers. This proposes an admin-managed exemption list that bypasses the rate limit.

Proposed Behaviour

  • Admin can add/remove supplier addresses to/from a rate-limit exemption list.
  • create_shipment skips the rate-limit check for suppliers on the exemption list.
  • Exempted suppliers remain subject to every other creation check (whitelist, blacklist, value bounds, etc).

Acceptance Criteria

  • Admin can add/remove addresses from the exemption list and query membership
  • Exempted suppliers bypass only the rate limit, nothing else
  • Non-exempted suppliers are unaffected
  • Tests cover exempt and non-exempt creation

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions