fix(auth): consider only entities of kind user when using findCatalogUser with filter query

Signed-off-by: Elias Rieb <e.rieb@posteo.de>
This commit is contained in:
Elias Rieb
2024-02-28 12:52:29 +01:00
parent 75b7d4e49b
commit 038b2e6894
3 changed files with 17 additions and 2 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ export type BackstageUserIdentity = {
* If `annotations` are used, all annotations must be present and
* match the provided value exactly. Only entities of kind `'User'` will be considered.
*
* If `filter` are used they are passed on as they are to the `CatalogApi`.
* If `filter` are used, only entities of kind `'User'` will be considered unless it is explicitly specified differently in the filter.
*
* Regardless of the query method, the query must match exactly one entity
* in the catalog, or an error will be thrown.