Implement "Soft Delete" for API Keys #106
Labels
enhancement
New feature or enhancement of existing functionality
T1h
Time Estimate 1 Hour
technical
A technical issue that requires understanding of the code, infrastructure or dependencies
At present we have a "hard"
delete
for all records in our DB which means that when a record is gone, it's gone for everrrr! This is fine from a tidying up perspective but it's terrible from a Security Auditing perspective. If we are going to allow anyone to create an API Key for accessing the dwyl App (e.g: on theirlocalhost
) we want some level of accountability. We want people to be able to "soft delete" (i.e. invalidate an API Key) so that it can no longer be used, but we still want to have a record of it in case we need to do any security auditing. see: https://en.wikipedia.org/wiki/Information_security_auditTodo
delete_apikey/1
to set the:status
of theapikey
to6
("deleted")The text was updated successfully, but these errors were encountered: