Skip to content

Fix database web UI connect dialog not allowing users to type/select database username#55532

Merged
gabrielcorado merged 1 commit intomasterfrom
gabrielcorado/fix-pg-webui-auto-provisioning
Jun 9, 2025
Merged

Fix database web UI connect dialog not allowing users to type/select database username#55532
gabrielcorado merged 1 commit intomasterfrom
gabrielcorado/fix-pg-webui-auto-provisioning

Conversation

@gabrielcorado
Copy link
Copy Markdown
Contributor

@gabrielcorado gabrielcorado commented Jun 6, 2025

When connecting to the PostgreSQL database using WebUI, the database users select on connect dialog was mistakenly disabled due to the auto-provisioning user flag being set:

Example of wrong UI being shown

Screenshot 2025-06-06 at 12 05 01

The issue was that the auto-provisioning flag didn't consider the user role, only the database config. This PR updates this logic, mimicking the tsh behavior.

UI after the fix

Screenshot 2025-06-06 at 12 11 01

changelog: Fixed database connect options dialog displaying wrong database username options.

@gabrielcorado gabrielcorado added this pull request to the merge queue Jun 9, 2025
Merged via the queue into master with commit e2a9c7c Jun 9, 2025
45 checks passed
@gabrielcorado gabrielcorado deleted the gabrielcorado/fix-pg-webui-auto-provisioning branch June 9, 2025 14:25
@backport-bot-workflows
Copy link
Copy Markdown
Contributor

@gabrielcorado See the table below for backport results.

Branch Result
branch/v17 Create PR
branch/v18 Create PR

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants