Realtime Subscriptions don't work with Row Level Security
See original GitHub issueBug 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:
- Created 2 years ago
- Comments:6 (4 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
this one is in the URL - it might be easier to use this form: https://app.supabase.io/support/new
@FurkanToprak also, if you check again you shouldn’t have this issue anymore.