Merge branch 'optimize_ldap_group_sync_2' into 'master'
Optimize LDAP group sync operations Separate the LDAP group sync process from the regular LDAP access checks and optimize. So far, this is a somewhat working PoC that splits the group sync operation to a new worker. It updates all members for a group as it iterates, instead of looping through users and updating groups that way. I am adding lots of logging because this would have been extremely helpful in the past. There are lots of things still broken, or not considered. However, at least group members are added and updated when I use it in my idyllic dev environment😃 - [x] Sync groups - [x] Sync admins - [x] Make it work with all type of LDAP groups (with member, member_uid, etc. attributes) - [x] Update tests - [ ] Document - [x] Add scheduled job? (and associated config) Do these in another merge request - [ ] Answer: Do we still need some sort of sync on user sign in? - [ ] Answer: Should sync time be configurable? - [ ] Answer: Should the group button to 'Reset cache' be changed to 'Sync now'? Can the last 3 questions be addressed in a subsequent MR? Are there other things we're not considering yet? See merge request !229
Showing
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment