Carloshs94
12/01/2021, 7:51 PMCarloshs94
12/01/2021, 7:52 PMCarloshs94
12/01/2021, 7:53 PMgaryaustin
12/01/2021, 8:07 PManothercoder
12/02/2021, 2:36 AMgaryaustin
12/02/2021, 2:41 AMkimg
12/02/2021, 4:30 AMNascode
12/02/2021, 4:34 AMdaemswibowo
12/02/2021, 5:15 AMcomments
table for select
using auth.role()='authenticated'
and for insert with check auth.role()='authenticated'
too.
I've already enable realtime for comments
table
alter publication supabase_realtime add table comments;
https://user-images.githubusercontent.com/9953444/144361012-0b1780e4-c55d-463f-9bf1-3370b58d33b2.png▾
js
supabase.from('comments').on('INSERT', (payload) => {
console.log('incoming comment', payload);
}).subscribe();
the new comment does not appear on the console.log
I've also run this before with no luck:
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA realtime TO postgres;
GRANT ALL PRIVILEGES ON ALL SEQUENCES IN SCHEMA realtime TO postgres;
I've another table with RLS disabled and has realtime active and the realtime do the job correctly.
https://github.com/supabase/supabase/issues/4201jonny
12/02/2021, 5:23 AMJacob Paris 🇨🇦
12/02/2021, 5:33 AM# Get the code
git clone --depth 1 https://github.com/supabase/supabase
Jacob Paris 🇨🇦
12/02/2021, 5:34 AMJacob Paris 🇨🇦
12/02/2021, 5:35 AMuser
12/02/2021, 7:05 AMuser
12/02/2021, 7:05 AMe0
12/02/2021, 9:11 AMalmkamberi
12/02/2021, 9:40 AMalmkamberi
12/02/2021, 9:41 AManothercoder
12/02/2021, 11:12 AMuser
12/02/2021, 11:40 AMuser
12/02/2021, 11:40 AMuser
12/02/2021, 11:40 AMalmkamberi
12/02/2021, 12:43 PMe0
12/02/2021, 12:48 PManothercoder
12/02/2021, 12:49 PMMr.Minnu
12/02/2021, 1:03 PMMr.Minnu
12/02/2021, 1:03 PMjuandjara
12/02/2021, 2:40 PMDeleted User
12/02/2021, 2:59 PMjonny
12/02/2021, 3:29 PM