This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.
In an app that has S3 files and a Postgres database storing file metadata, we might have a DELETE route that looks something like: 
 
 Select file from db, and if it does not exist throw a 404. 
 If the file’s owner isn’t our session’s user, check the db if the session’s user is an admin 
 Delete file from the db 
 Delete file from S3 
 
 The…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.