Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix AUP signature validity #834

Merged
merged 8 commits into from
Aug 29, 2024
Merged

Fix AUP signature validity #834

merged 8 commits into from
Aug 29, 2024

Conversation

rmiccoli
Copy link
Contributor

@rmiccoli rmiccoli commented Aug 22, 2024

The custom validator for AUP signature validity and AUP reminders, introduced within IAM v1.10.0, checks that the value of the AUP reminders is less than the AUP signature validity. This PR fixes the case AUP signature validity is equal to 0. In particular:

  • if AUP signature validity is set to 0, AUP reminders are set to an empty string
  • when the AUP signature validity is 0, AUP reminders are also hidden from the interface

- when signatureValidityInDays is 0, hide the aup reminders
from the interface
- when signatureValidityInDays is 0, ignore the reminders
validation (put the default value)
@rmiccoli rmiccoli changed the title Fix AUP validity signature Fix AUP signature validity Aug 22, 2024
@enricovianello enricovianello self-requested a review August 27, 2024 10:59
Copy link

sonarcloud bot commented Aug 29, 2024

@enricovianello enricovianello merged commit ada2c24 into develop Aug 29, 2024
4 checks passed
@enricovianello enricovianello deleted the fix-aup-behavior branch August 29, 2024 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants