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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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
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.

2 participants