Skip to content

Fix auto user role grant#50744

Merged
GavinFrazar merged 1 commit intomasterfrom
gavinfrazar/fix-pg-role-grant
Jan 6, 2025
Merged

Fix auto user role grant#50744
GavinFrazar merged 1 commit intomasterfrom
gavinfrazar/fix-pg-role-grant

Conversation

@GavinFrazar
Copy link
Copy Markdown
Contributor

@GavinFrazar GavinFrazar commented Jan 3, 2025

changelog: Fixed a Postgres database-access auto-user provisioning syntax error that caused a misleading debug level error log in most cases, unless the database admin is not a superuser and the database was upgraded from Postgres v15 or lower to Postgres v16 or higher, in which case the role "teleport-auto-user" must be granted to the database admin with the ADMIN option manually.

This fixes a SQL syntax typo that was added in #48949

@GavinFrazar GavinFrazar added database-access Database access related issues and PRs db/postgres PostgreSQL related database access issues backport/branch/v15 backport/branch/v17 labels Jan 3, 2025
@github-actions github-actions Bot requested review from avatus and greedy52 January 3, 2025 21:06
@GavinFrazar GavinFrazar added this pull request to the merge queue Jan 6, 2025
Merged via the queue into master with commit c3067c7 Jan 6, 2025
@GavinFrazar GavinFrazar deleted the gavinfrazar/fix-pg-role-grant branch January 6, 2025 17:40
@public-teleport-github-review-bot
Copy link
Copy Markdown

@GavinFrazar See the table below for backport results.

Branch Result
branch/v15 Failed
branch/v16 Create PR
branch/v17 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/branch/v17 database-access Database access related issues and PRs db/postgres PostgreSQL related database access issues size/sm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants