Skip to content

Commit

Permalink
Disable role creation
Browse files Browse the repository at this point in the history
  • Loading branch information
urvisavla committed Jul 19, 2024
1 parent bbc1f5e commit 60c5f48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion support/db/dbtest/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ func Postgres(t testing.TB) *DB {
execStatement(t, "GRANT SELECT ON ALL TABLES IN SCHEMA public TO PUBLIC;", result.DSN)
execStatement(t, "ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO PUBLIC;", result.DSN)

checkReadOnly(t, postgresDSN)
//checkReadOnly(t, postgresDSN)

result.closer = func() {
// pg_terminate_backend is a best effort, it does not gaurantee that it can close any lingering connections
Expand Down

0 comments on commit 60c5f48

Please sign in to comment.