Open purivirakarin opened 4 months ago
In real world context, there are no policy IDs with negative numbers. The likelihood of users inputting a negative policy ID is also very very small, and thus has low severity. As the error message could be more specific, it is a feature flaw.
Team chose [severity.Low
]
Originally [severity.Medium
]
Reason for disagreement: [replace this with your explanation]
How to reproduce
deletepolicy 1 i/-1
Actual Policy ID should only contain numbers, and it should be at least 1 digit long
Expected If the application does not allow negative number, then it should show
Policy ID should only contain non-negative integer ...
orPolicy ID should only contain positive integer ...