Skip to content

fix(identity): Resolve federated users in existence checks#1012

Merged
gtema merged 1 commit into
openstack-experimental:mainfrom
magdang:fix/1000-check-user-exist
Jul 14, 2026
Merged

fix(identity): Resolve federated users in existence checks#1012
gtema merged 1 commit into
openstack-experimental:mainfrom
magdang:fix/1000-check-user-exist

Conversation

@magdang

@magdang magdang commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

TL;DR

Resolve federated users by name and domain in check_user_exist.

Changes

  • Preserve local, non-local, then federated lookup order.
  • Keep federated lookup domain-scoped and join-free.
  • Add success and missing-user regression tests.

Tests

  • Identity SQL: 127 passed.
  • Core: 519 passed.
  • Raft integration: 249 passed.
  • Pre-commit: passed.

Closes #1000

@magdang
magdang force-pushed the fix/1000-check-user-exist branch from 22bf119 to 4048014 Compare July 14, 2026 13:16
Resolve federated user names after local and non-local lookups.

Keep the lookup domain-scoped without loading password data.

Co-authored-by: GPT-5.6 <noreply@openai.com>
Signed-off-by: Yousef Hussein <ymh1874@gmail.com>
@gtema
gtema force-pushed the fix/1000-check-user-exist branch from 4048014 to dbeccd0 Compare July 14, 2026 14:09
@gtema
gtema merged commit 2d2654f into openstack-experimental:main Jul 14, 2026
34 of 35 checks passed
@magdang
magdang deleted the fix/1000-check-user-exist branch July 14, 2026 23:30
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.

check_user_exist method only supports local users

2 participants