|
|
|
|
|
by uhoh-itsmaciek
1426 days ago
|
|
>Another issue we caught during testing was that some requests were being authorized with a previous request’s user id. This is the terrifying part about RLS to me: having to rely on managing the user id as part of the database connection session seems like an easy way to shoot yourself in the foot (especially when combined with connection pooling). Adding WHERE clauses everywhere isn't great, but at least it's explicit. That said, I've never used RLS, and I am pretty curious: it does seem like a great solution other than that one gotcha. |
|