question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Row level security for subscribe / real time

See original GitHub issue

I want to be able to stream data for changes for just the auth’d user. e.g. I have a table cards that has a user_id and team associated with each card. The user should only get changes for cards that belong to their team.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
w3b6x9commented, Sep 13, 2021

Just wanted to give everyone a heads up that we have a project codenamed WALRUS that will broadcast Realtime changes with respect to RLS. See here for more context.

1reaction
mike-waxcommented, Sep 3, 2021

@w3b6x9 👍

I think the docs should have a better security warning in the meantime. If you turn this on, you’re basically streaming all your data changes to all your users. Something that risky should be in “flashing red lights”.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Row Level Security - Supabase
Secure your data using Postgres Row Level Security. ... REALTIME SUBSCRIPTIONS * Realtime enables listening to any table in your public schema.
Read more >
Row-level security (RLS) with Power BI - Microsoft Learn
Row-level security (RLS) with Power BI can be used to restrict data access for given users. Filters restrict data access at the row...
Read more >
Realtime Subscriptions don't work with Row Level Security
Create a subscription to any realtime-enabled database. Enable row level security and the socket does not work.
Read more >
Introduction to BigQuery row-level security - Google Cloud
Row-level security lets you filter data and enables access to specific rows in a table based on qualifying user conditions. BigQuery already supports...
Read more >
Row-Level Security and Object-Level Security together in ...
Struggling with using Row - Level Security (RLS) together with Object-Level Security (OLS) in Power BI? You think it can't be done?
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found