openwallet-foundation-labs / credhub

a cloud wallet for natural persons + minimal issuer and verifier implementations
https://credhub.eu
Apache License 2.0
8 stars 6 forks source link

Add archive feature #28

Closed cre8 closed 4 months ago

cre8 commented 4 months ago

A credential that got expired can be moved to the archive. It will not be displayed in the primary list, but the archive can be accessed via a button that we will add to the menu on the top right.

The backend will move credentials to the archive via a cron job when the exp is hit. To do this efficiently, we should store the exp value in a separate column allowing us to filter for this and then mark it with a flag archived.

For now we will give the user not the feature to manually move credentials to archive, because technically it should not be possible to move them back to active. A credential that got expired should never be presented to a verifier.