Your Database Already Has an Authorization System. You're Just Not Using It.
Every backend developer has written this line a thousand times:
SELECT * FROM orders WHERE user_id = $1
And this one:
DELETE FROM invoices WHERE id = \(2 AND user_id = \)1
And somewhere, deep in the
blog.niradler.com9 min read