This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/authentik
Daniel 85c790728f
core: simplify group serializer for user API endpoint (#3899)
* core/api: Adding simple group serializer to improve user retrieval performance

Due to the exhaustive use of the user_obj the performance suffers
greatly if the users are assigned to large groups. This simple fix adds
a new serializer that does not expose the user_obj within a group.

* core/api: Update schema

Update to the schema based on the new SimpleGroupSerializer

* core/api: Fix black and pylint

* make naming consistent, remove unnecessary fields

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
Co-authored-by: Jens Langhammer <jens.langhammer@beryju.org>
2022-11-09 11:19:40 +01:00
..
admin admin: add authorisations metric (#3811) 2022-10-19 00:06:45 +02:00
api api: fix missing scheme in securitySchemes 2022-10-29 18:50:34 +02:00
blueprints blueprints: fix error when cleaning up unset attribute 2022-10-21 22:12:59 +02:00
core core: simplify group serializer for user API endpoint (#3899) 2022-11-09 11:19:40 +01:00
crypto providers/oauth2: fix issues with es256 and add tests (#3808) 2022-10-18 22:01:29 +02:00
events events: sanitize generator for json safety 2022-10-31 20:30:11 +01:00
flows flows: fix error due to not validating error challenge 2022-10-27 20:04:00 +02:00
lib root: add global fallback throttle 2022-10-15 23:51:36 +02:00
outposts flows: optimise queries (#3818) 2022-10-19 22:53:07 +02:00
policies flows: optimise queries (#3818) 2022-10-19 22:53:07 +02:00
providers flows: optimise queries (#3818) 2022-10-19 22:53:07 +02:00
recovery root: fix settings for managed not loaded 2021-11-15 19:49:03 +01:00
root root: relicense and launch blog post 2022-11-03 16:00:00 +01:00
sources root: relicense and launch blog post 2022-11-03 16:00:00 +01:00
stages core: explicitly enable locales (#3889) 2022-10-28 19:42:49 +02:00
tenants core: explicitly enable locales (#3889) 2022-10-28 19:42:49 +02:00
__init__.py release: 2022.10.1 2022-10-29 17:24:55 +02:00