Skip to content

Commit ff09b10

Browse files
authored
feat: allow etl admin to bypass rls (#1968)
1 parent 59d6519 commit ff09b10

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

ansible/vars.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ postgres_major:
1010

1111
# Full version strings for each major version
1212
postgres_release:
13-
postgresorioledb-17: "17.6.0.020-orioledb"
14-
postgres17: "17.6.1.063"
15-
postgres15: "15.14.1.063"
13+
postgresorioledb-17: "17.6.0.021-orioledb"
14+
postgres17: "17.6.1.064"
15+
postgres15: "15.14.1.064"
1616

1717
# Non Postgres Extensions
1818
pgbouncer_release: 1.19.0

migrations/db/init-scripts/00000000000000-initial-schema.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ alter user supabase_admin with superuser createdb createrole replication bypass
1111
create user supabase_replication_admin with login replication;
1212

1313
-- Supabase etl user
14-
create user supabase_etl_admin with login replication;
14+
create user supabase_etl_admin with login replication bypassrls;
1515
grant pg_read_all_data to supabase_etl_admin;
1616
grant create on database postgres to supabase_etl_admin;
1717

nix/tests/expected/roles.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ order by rolname;
4646
service_role | f | f | f | t | f | f | -1 | t |
4747
supabase_admin | t | t | t | t | t | t | -1 | t |
4848
supabase_auth_admin | t | t | f | f | f | f | -1 | f |
49-
supabase_etl_admin | f | t | f | t | f | t | -1 | f |
49+
supabase_etl_admin | f | t | f | t | f | t | -1 | t |
5050
supabase_functions_admin | t | t | f | f | f | f | -1 | f |
5151
supabase_read_only_user | f | t | f | t | f | f | -1 | t |
5252
supabase_replication_admin | f | t | f | t | f | t | -1 | f |

0 commit comments

Comments
 (0)