api-manager icon indicating copy to clipboard operation
api-manager copied to clipboard

[Admin Portal] Allows Negative Values in Rate Limiting Policies

Open AqeelMuhammad opened this issue 10 months ago • 1 comments

Description

In the WSO2 API Manager Admin Portal, when adding a new Advanced Rate Limiting Policy, Application Rate Limiting Policy, or Subscription Rate Limiting Policy, users are able to enter negative values for several fields, including:

  • Request count
  • Time (only for Advanced Rate Limiting Policy)
  • Request rate
  • Other numerical input fields
Image Image Image

Steps to Reproduce

  1. Log in to the Admin Portal.
  2. Create a new Advanced Rate Limiting Policy, Application Rate Limiting Policy, or Subscription Rate Limiting Policy with negative values.

https://github.com/user-attachments/assets/dff5dd33-204d-47bc-a157-4780e9702968

Version

4.5.0

Environment Details (with versions)

No response

AqeelMuhammad avatar Mar 04 '25 08:03 AqeelMuhammad

Created the following PRs : UI fix : https://github.com/wso2/apim-apps/pull/1003 Backend Fix : https://github.com/wso2/carbon-apimgt/pull/13059

RusJaI avatar Mar 31 '25 16:03 RusJaI