gosa-project / gosa-plugins-schoolmanager

GOsa Add-On for Managing Schools
GNU General Public License v2.0
3 stars 5 forks source link

addons/schoolmanager/class_smflushgroupmembers.inc: Reload groups/ogroups from LDAP for every execution phase. #57

Closed sunweaver closed 2 years ago

sunweaver commented 2 years ago

The $this->ldapinfo['groups'|'ogroups'] arrays need to be repopulated on each http request. Alternative option would be piping the (massive amount of data) through the post request (and fishing it out of the responsive) with next page load. However, this can be avoided by re-running the LDAP queries whenever they are needed.

dzatoah commented 2 years ago

Looks good, LGTM!