DEV Community

loading...

Discussion on: March 4th, 2021: What did you learn this week?

Collapse
andrewbrown profile image
Andrew Brown 🇨🇦

How to implement Row Level Security in Postgres for Multi-tenancy in Ruby on Rails.
Fun fact, really hard to change Postgres Roles on the fly even with Rails 6 changes.

Collapse
rcy profile image
Ryan Yeske

Hey Andrew, can you point me towards any documentation or blog posts about this? I'm curious about integrating RLS into a rails app.

Collapse
andrewbrown profile image
Andrew Brown 🇨🇦

There are RLS gems, I don't use any of them.
There are no real end-to-end examples designed for production available.

Collapse
nickytonline profile image