doctorRuediger
08/19/2021, 2:10 PMMarky
08/19/2021, 3:15 PMDeleted User
08/19/2021, 3:33 PMGROUP BY
. I came across containedBy
but I don't think that's what I'm looking for.Michael Ketzer | streamgeist.com
08/19/2021, 4:34 PMRod
08/19/2021, 6:35 PMRod
08/19/2021, 6:35 PMRod
08/19/2021, 6:35 PMKrisCoulson
08/19/2021, 7:31 PMdommarr
08/19/2021, 7:39 PMRod
08/19/2021, 7:44 PMuser
08/19/2021, 9:17 PMuser
08/19/2021, 9:18 PMclaud9
08/19/2021, 9:30 PMcreate or replace function public.handle_new_user()
returns trigger as $$
begin
insert into public.users (id, email)
values (new.id, new.email);
return new;
end;
$$ language plpgsql security definer;
This doesn't work - I get this error { message: 'Database error saving new user', status: 500 }
create or replace function public.handle_new_user()
returns trigger as $$
begin
insert into public.users (id, email)
values (new.id, pgp_sym_encrypt(new.email, 'KEY'));
return new;
end;
$$ language plpgsql security definer;
The only difference is pgp_sym_encrypt(new.email, 'KEY')
dperrera
08/19/2021, 10:31 PMinviteUserByEmail
method and I'm getting this error:
{
"message": "User not allowed",
"status": 401,
}
Any ideas would be appreciated!Olyno
08/20/2021, 1:06 AMOlyno
08/20/2021, 1:07 AMjason-lynx
08/20/2021, 4:00 AMjason-lynx
08/20/2021, 4:04 AMKrisCoulson
08/20/2021, 6:27 AMGustavogsb
08/20/2021, 12:42 PMe0
08/20/2021, 12:51 PMKhan W
08/20/2021, 2:52 PMnovon
08/20/2021, 2:53 PMfarzd
08/20/2021, 3:51 PMsoedirgo
08/20/2021, 5:21 PMHEAVYPOLY
08/20/2021, 6:20 PMHEAVYPOLY
08/20/2021, 6:21 PMivanq3w
08/20/2021, 6:58 PMcreate policy "Only CUSTOM_ROLE can create posts" on posts for
select using (auth.role() = 'CUSTOM_ROLE');
How to change role column in auth.users ?user
08/20/2021, 6:59 PMfarzd
08/20/2021, 7:04 PM