The date validation in the Policy Portal is failing, allowing users to create backdated policies. These backdated policies are still being applied, which is causing issues in policy enforcement.
Steps to Reproduce
Navigate to the new policy creation form in the Policy Portal.
Enter a past date in the policy effective date field.
Save the policy.
Observe that the policy is created with a backdated effective date and is still being applied.
Expected Behavior
The system should validate the effective date and prevent the creation of policies with past dates. Backdated policies should not be applicable.
Actual Behavior
Backdated policies are allowed to be created and applied, indicating that date validation is not functioning properly.
Bug Description
The date validation in the Policy Portal is failing, allowing users to create backdated policies. These backdated policies are still being applied, which is causing issues in policy enforcement.
Steps to Reproduce
Expected Behavior
The system should validate the effective date and prevent the creation of policies with past dates. Backdated policies should not be applicable.
Actual Behavior
Backdated policies are allowed to be created and applied, indicating that date validation is not functioning properly.
Figma
NA
Environment
Screenshots/Logs
NA