11 lines
435 B
PL/PgSQL
11 lines
435 B
PL/PgSQL
begin;
|
|
|
|
-- BUG-600: account PATCH uses service_role. The ayanamsa column only granted
|
|
-- UPDATE to authenticated, so the first onboarding save (which always sends
|
|
-- ayanamsa) failed with "permission denied for table profiles".
|
|
grant select (ayanamsa) on table public.profiles to service_role;
|
|
grant insert (ayanamsa) on table public.profiles to service_role;
|
|
grant update (ayanamsa) on table public.profiles to service_role;
|
|
|
|
commit;
|