You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Adjust the existing HTTP PUT endpoint, so it will revoke existing cards, when the expiration date is set to a date in the past.
Describe the solution you'd like
Check if a entry in the csv has expiration date in the past
find the card that is associated with this entry
revoke the card
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
For testing:
Upload a csv with a valid user info
activate the card in the app
upload a csv with the same user info, but an expiration date in the past
open the app: The card should no longer work
The text was updated successfully, but these errors were encountered:
f1sh1918
added
blocked
Task or user story can not be continued at the moment
and removed
blocked
Task or user story can not be continued at the moment
labels
Aug 28, 2024
@ztefanie i'm not pretty sure if we really need #1419 and #1431 for this.
I think this function will be triggered after each csv import and should just set the card revoked = true . We can just create a proper backend test for testing this.
If the card was activated or not is not important.
In the frontend we already can test the case if a card is revoked that it can't be activated or used. Even we can not test that for koblenz at the moment, i think we can start this task after #1424
@f1sh1918 sure feel free to adjust/edit the text. I like testing issues and everything connected to it, when developing and see no real point of doing this before the other tickets, but feel free to do so, if you have a strong opinion on this.
Is your feature request related to a problem? Please describe.
Adjust the existing HTTP PUT endpoint, so it will revoke existing cards, when the expiration date is set to a date in the past.
Describe the solution you'd like
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
For testing:
The text was updated successfully, but these errors were encountered: