/api/users/all
performance degraded when using external auth
#9040
Labels
kind/bug
This issue represents a verified problem we are committed to solving
Severity
No blocked customers
Version
2024.2.5035
Latest Version
I could reproduce the problem in the latest build
What happened?
Performance of the
/api/users/all
endpoint is slower when using external authentication with a large number of claims per user.This can be observed on the User list, Subscriptions, test permissions, events and other pages.
Reproduction
Call the
/api/users/all
or navigate to one of the pages listed. The api call will be slower than previously, in some cases going from ~1 second to more than 20 seconds.Error and Stacktrace
No response
More Information
The generated sql query behind this endpoint is causing an exponentially higher amount of data to be read
Workaround
None known
The text was updated successfully, but these errors were encountered: