Hacker News new | ask | show | jobs
by matharmin 951 days ago
How do you deal with shapes and permissions not being available yet?
1 comments

There's a workaround - if a table has an "electric_user_id" column then a user with that id (based on their JWT) can only read rows which have the same id. It's basic but it works for us. https://electric-sql.com/docs/reference/roadmap#shapes