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

mixedCase now works in pgtle.clientauth_users_to_skip as intended #267

Closed
wants to merge 2 commits into from

Conversation

TianzeMYou
Copy link
Contributor

Issue #, if available: Clientauth skip lists do not work when user/database names are mixed case #265

Description of changes: mixedCase now works in pgtle.clientauth_users_to_skip as intended.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@@ -176,6 +177,9 @@
$node->command_ok(
['psql', '-U', 'testuser2', '-c', 'select;'],
"clientauth function does not reject testuser2 when testuser2 is in pgtle.clientauth_users_to_skip");
$node->command_ok(
['psql', '-U', 'testUser3', '-c', 'select;'],
"clientauth function does not reject testUser3 when testUser3 is in pgtle.clientauth_users_to_skip");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please a add a test for mixed case clientauth_databases_to_skip as well

@anth0nyleung
Copy link
Contributor

please investigate why CI is not passing

@anth0nyleung
Copy link
Contributor

I think having something like Allow mixed case in pgtle.clientauth_users_to_skip and pgtle.clientauth_databases_to_skip would be a better commit message and title for this pr

@TianzeMYou TianzeMYou closed this Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants