Skip to content

test: Auth projects returns empty for user without roles#783

Open
MohidSheraz wants to merge 1 commit into
openstack-experimental:mainfrom
MohidSheraz:fix-515-auth-projects-empty-list
Open

test: Auth projects returns empty for user without roles#783
MohidSheraz wants to merge 1 commit into
openstack-experimental:mainfrom
MohidSheraz:fix-515-auth-projects-empty-list

Conversation

@MohidSheraz

Copy link
Copy Markdown
Collaborator

Closes #515

Added API test to verify that when a user has no role assignments,
the /auth/projects endpoint returns an empty list instead of all
projects in the system.

Test: test_auth_projects_empty_for_user_without_roles

  • Creates a user with no role assignments
  • Authenticates as that user
  • Calls /auth/projects
  • Verifies the returned list is empty

@MohidSheraz MohidSheraz force-pushed the fix-515-auth-projects-empty-list branch from e1c6e0f to 0278bc8 Compare June 10, 2026 00:16
@MohidSheraz MohidSheraz force-pushed the fix-515-auth-projects-empty-list branch from 0278bc8 to ee17258 Compare June 10, 2026 10:29
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.

Add test to the /auth/projects with empty assignments list being returned

1 participant