Allow LDAP user creation on login, not on addition to LDAP #50167
Labels
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
enhancement
feature: ldap
performance 🚀
How to use GitHub
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Allow LDAP users to be created in Nextcloud only on their first login, instead of at the point in time where they are added to LDAP.
This would make sense for many organizations as it saves storage space, database space and CPU cycles as I imagine many background tasks touch every single user in the database.
I imagine this process being as follows, the login function checks if the user exists locally, if they do not, they then check if they are a valid LDAP user. If they're a valid LDAP user, they're added at that point to the local Nextcloud database. If this process takes more than one or two seconds, it could present the user with a small loading screen indicating that their user information is being synchronised to Nextcloud.
Describe alternatives you've considered
None
Additional context
None
The text was updated successfully, but these errors were encountered: