Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix auto user role grant #50744

Merged
merged 1 commit into from
Jan 6, 2025
Merged

Fix auto user role grant #50744

merged 1 commit into from
Jan 6, 2025

Conversation

GavinFrazar
Copy link
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/v16 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
45 of 46 checks passed
@GavinFrazar GavinFrazar deleted the gavinfrazar/fix-pg-role-grant branch January 6, 2025 17:40
@public-teleport-github-review-bot

@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/v15 backport/branch/v16 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