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.

Realtime Subscriptions don't work with Row Level Security

See original GitHub issue

Bug report

Describe the bug

I won’t receive any subscriptions when row level security is enabled.

To Reproduce

Create a subscription to any realtime-enabled database. Enable row level security and the socket does not work.

Expected behavior

I expect the rows that are allowed for row-level access to be returned by the subscription when inserted, deleted, or updated.

System information

  • OS: Ubuntu 20.04
  • Firefox
  • Version of supabase-js:
"@supabase/supabase-js": "^1.29.1",
  • Version of Node.js: 16.13.1

Additional context

Add any other context about the problem here.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
kiwicopplecommented, Jan 17, 2022

this one is in the URL - it might be easier to use this form: https://app.supabase.io/support/new

0reactions
w3b6x9commented, Jan 31, 2022

@FurkanToprak also, if you check again you shouldn’t have this issue anymore.

Read more comments on GitHub >

github_iconTop Results From Across the Web

RLS doesn't work with subscription
According to my research, when you use the Power BI report email subscriptions, if the dataset uses row-level security (RLS), you can create...
Read more >
Row-level security (RLS) with Power BI - Microsoft Learn
For Analysis Services or Azure Analysis Services lives connections, you configure Row-level security in the model, not in Power BI Desktop.
Read more >
Realtime Postgres RLS now available on Supabase
If your data is insensitive or publicly available, such as stock prices listed under NASDAQ, then don't enable row level security! The fastest ......
Read more >
Troubleshooting row-level security issues - BMC Documentation
This documentation supports the 20.08 version of Remedy Action Request System, which is available only to BMC Helix subscribers (SaaS). To view ...
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