How I Implemented Authorization in My Go App With RLS (Postgres)
Introduction In this article, I will show you how I set up Authorization with Row Level Security (RLS) specifically with Postgres in my web app in Go. A quick distinction between: Authentication (AuthN): who are you? Authorization (AuthZ): what can you do? We will mostly be focusing on AuthZ in this article, what is the user allowed to do but mostly see and we will use my gardening app called LettuceGo 1 (yes terrible pun, but I love it) as an example. ...