fix: add InUserIDs query to query of user grants (#10741)

# Which Problems Are Solved

Currently there is only the option to either filter for all usergrants
of an organization or the usergrants of a singluar user.

# How the Problems Are Solved

Add the option to provide a list of userIDs to query user grants.

# Additional Changes

Fixed internal typo for function.

# Additional Context

Closes #9675
This commit is contained in:
Stefan Benz
2025-10-07 04:56:20 +00:00
committed by GitHub
parent 4aac34d93b
commit 6da380628d
6 changed files with 67 additions and 2 deletions
@@ -108,6 +108,8 @@ message AuthorizationsSearchFilter {
// Search for authorizations by the ID of the project grant the user was granted the authorization for.
// This will also include authorizations granted for project grants of the same project.
zitadel.filter.v2beta.IDFilter project_grant_id = 11;
// Search for authorizations by the IDs of the users who were granted the authorizations.
zitadel.filter.v2beta.InIDsFilter in_user_ids = 12;
}
}