GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||
GeezerVison is showing github.com — fix: honour pgpass file in Change Server Password dialog (#10449) by MaybeSomeone-arc18 · Pull Request #10451 · pgadmin-org/pgadmin4 Conversation
|
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: pgadmin-org/pgadmin4/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 8 included reviews per hour; 7 remain after this review. WalkthroughThe change-password dialog now passes ChangesChange-password dialog
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix · Severity of issue fixed: Medium Merge Risk: ⚪ Minimal · up to The pgpass-aware password dialog is mergeable after normal checks; no actionable risk remains identified. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
The dialog hardcoded the pgpass flag to false, so it always demanded the current password even when the connection authenticates via a passfile. Pass the flag from check_pgpass through to the schema instead. check_pgpass and change_password also disagreed about when a passfile is in use: the former treated a password entered at connect but not saved as a passfile connection, which would now disable the Current Password field whilst the endpoint still required it. Both now use a shared is_using_passfile() helper. Fixes #10449
|
Thanks, Sanskar. Squashed and merged to master as bdd3282. I folded in one backend change: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks Dave! Appreciate the quick review, and the shared is_using_passfile() helper - learned from that one. Happy to pick up more issues. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Change Server Password wrongly requires a current password when a pgpass file is used
There was an error while loading. Please reload this page.