securitybunker / databunker

Secure Vault for Customer PII/PHI/PCI/KYC Records
https://databunker.org/
MIT License
1.26k stars 73 forks source link

Retrieve expired shareable record #11

Open rakateja opened 1 year ago

rakateja commented 1 year ago

Hi @stremovsky, thanks for the great project. We're currently planning to use it to protect PII data.

We have a question regarding to shareable record API. When the record is expired, is there a way for client to retrieve the expired record or is there a way for client to request to make the expired record to be retrieved again using the expired token?

Thank you.

stremovsky commented 1 year ago

Hi

I have just checked the code - I do not see that the "shareable record" is deleted from the database.

So, it can be restored - there is no API for that.

Could you provide further details on how you plan to utilize it?

If I find enough logical justification, I can include an additional API call to address that requirement.