Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scaling user provisioning for subadmins with many groups #20677

Merged
merged 2 commits into from
Apr 30, 2020

Conversation

nickvergessen
Copy link
Member

Replaces #17718

CC @mikaelh

mikaelh and others added 2 commits April 25, 2020 14:37
… where subadmins have access to many of groups (>250)

- UsersController:editUser() calls isUserAccessible() even if the user is admin

This fix reduces API calls to editUser (ex change locale/display name) from >2 minutes (!) to ~3 seconds per call in average.

Signed-off-by: Mikael Hammarin <mikael@try2.se>
Signed-off-by: Joas Schilling <coding@schilljs.com>
@rullzer rullzer mentioned this pull request Apr 29, 2020
11 tasks
@nickvergessen nickvergessen merged commit 5b5550d into master Apr 30, 2020
@nickvergessen nickvergessen deleted the followup/17718/scaling-user-provisioning branch April 30, 2020 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants