Skip to content

[v15] Fix auto user role grant#50785

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

[v15] Fix auto user role grant#50785
GavinFrazar merged 1 commit intobranch/v15from
gavinfrazar/v15-fix-pg-role-grant

Conversation

@GavinFrazar
Copy link
Copy Markdown
Contributor

Backport #50744 to branch/v15

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.

@GavinFrazar GavinFrazar added database-access Database access related issues and PRs backport labels Jan 6, 2025
@github-actions github-actions Bot requested review from avatus and greedy52 January 6, 2025 17:57
@avatus avatus changed the title Fix auto user role grant [v15] Fix auto user role grant Jan 6, 2025
@GavinFrazar GavinFrazar added this pull request to the merge queue Jan 6, 2025
Merged via the queue into branch/v15 with commit 67ce3e8 Jan 6, 2025
@GavinFrazar GavinFrazar deleted the gavinfrazar/v15-fix-pg-role-grant branch January 6, 2025 19:14
@doggydogworld doggydogworld mentioned this pull request Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport database-access Database access related issues and PRs size/sm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants