Skip to content

Conversation

@lahirumaramba
Copy link
Member

@lahirumaramba lahirumaramba commented Nov 21, 2025

This change implements the accounts:query functionality, providing a new QueryUsers method that allows searching for users with filters and sorting options.

RELEASE_NOTE: Added QueryUsers() API to support querying user accounts with filters, sorting, and pagination.

Copy link
Collaborator

@jonathanedey jonathanedey left a comment

Choose a reason for hiding this comment

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

LGTM, Thanks!

google-labs-jules bot and others added 16 commits January 19, 2026 18:57
Adds the `QueryUsers` function to the Auth client, allowing users to query for user accounts with various filters.

- Defines `QueryUsersRequest` and `QueryUsersResponse` structs.
- Implements the `QueryUsers` function to call the `accounts:query` endpoint.
- Includes support for tenant-specific queries.
- Adds comprehensive unit tests for the new functionality.
- Updates the `TestQueryUsersWithTenant` to create a tenant-specific client and verify the request URL.
- Corrects the `QueryUsersRequest` struct to use `string` for `Limit` and `Offset` fields, and adds the `TenantID` field.
- Updates the test cases to reflect the struct changes.
Moves the tenant-specific test for `QueryUsers` to `tenant_mgt_test.go` to follow the existing test structure.

- Renames `TestQueryUsersWithTenant` to `TestTenantQueryUsers`.
- Moves the test function to `auth/tenant_mgt_test.go`.
Renames the `SqlExpression` struct to `SQLExpression` to conform to Go's linting standards for acronyms.

- Updates the struct definition in `auth/user_mgt.go`.
- Updates all usages of the struct in `auth/user_mgt.go` and `auth/user_mgt_test.go`.
@lahirumaramba lahirumaramba merged commit d7795a6 into dev Jan 20, 2026
8 checks passed
@lahirumaramba lahirumaramba deleted the lm-auth-fr-query branch January 20, 2026 00:04
@github-actions github-actions bot mentioned this pull request Jan 21, 2026
lahirumaramba added a commit that referenced this pull request Jan 21, 2026
* chore: Added and `AGENTS.md` file to instruct AI agents how to interact with this repository (#710)

* fix(auth): Fixed auth error code parsing (#712)

* fix(auth): Fixed auth error code parsing

* fix(auth): Fixed test to use error message prefix

* chore: update copyright headers from Google Inc. to Google LLC (#713)

* chore: Update github actions workflows and integration test resources (#740)

* chore: Pinned github actions to a full-length commit SHA

* chore: Update integration test resources

* chore: Added environment label to release action

* Trigger integration tests

* feat(firestore): Added Firestore Multi Database Support (#733)

* feat(firestore): Add Firestore Multi Database Support

* fix: Address gemini review

* fix: gemini review

* fix: Update name from API review

* fix: Address review comments

* chore: Fix CONTRIBUTING.md typo

Co-authored-by: Lahiru Maramba <llahiru@gmail.com>

---------

Co-authored-by: Lahiru Maramba <llahiru@gmail.com>

* feat(auth): Add `QueryUsers` API (#727)

This change implements the accounts:query functionality, providing a new QueryUsers method that allows searching for users with filters and sorting options.

RELEASE_NOTE: Added QueryUsers() API to support querying user accounts with filters, sorting, and pagination.

* Update the release actions process (#741)

This PR refactors the release automation to improve security by removing the direct merge from the workflow.

* [chore] Release 4.19.0 (#742)

* Revert "[chore] Release 4.19.0 (#742)" (#744)

This reverts commit 3a86709.

* chore: Update Release Workflows for Push triggers (#745)

* chore: Update release actions to run on Release env

* Trigger CI

* update the actions

* update the base_ref

* remove fetch-depth to prevent conflicts

* [chore] Release 4.19.0 Take 2 (#746)

---------

Co-authored-by: Jonathan Edey <145066863+jonathanedey@users.noreply.github.com>
Co-authored-by: Lahiru Maramba <llahiru@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release:stage Stage a release candidate release-note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants