docs icon indicating copy to clipboard operation
docs copied to clipboard

PR #94915 - pgwire: accept the client-provided username during mappings

Open cockroach-teamcity opened this issue 2 years ago • 3 comments

Exalate commented:

Related PR: https://github.com/cockroachdb/cockroach/pull/94915 Commit: https://github.com/cockroachdb/cockroach/commit/8f13145824f93cd18234e83ccbe8c527ea6cb49d


Release note (backward-incompatible change): There was a bug whereby, when server.identity_map.configuration was used, CockroachDB did not verify the client-provided username against the target mappings. This bug was fixed; however, this also means that the client must now provide a valid DB username. This requirement is compatible with PostgreSQL; it was not previously required by CockroachDB but it is now.

(This note does not apply when identity maps are not in use.)

Jira Issue: DOC-6622

cockroach-teamcity avatar Jan 18 '23 05:01 cockroach-teamcity

Richard Loveland (rmloveland) commented: Dikshant Adhikari FYI I’m grabbing this but marked as low prio since AFAICT nobody has asked about this

exalate-issue-sync[bot] avatar Mar 01 '24 16:03 exalate-issue-sync[bot]

Dikshant Adhikari (dikshant) commented: Yep sounds good thanks!

exalate-issue-sync[bot] avatar Mar 01 '24 18:03 exalate-issue-sync[bot]

Richard Loveland (rmloveland) commented: See also https://github.com/cockroachdb/cockroach/issues/120034

exalate-issue-sync[bot] avatar Apr 17 '24 18:04 exalate-issue-sync[bot]