mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
The method has_upg returns if user private groups are enabled or disabled. has_upg() is called three times by user-add. The setting is now cached on the request local variable context to speed up batch processing of user imports. context is cleared after every request. Related: https://pagure.io/freeipa/issue/8134 Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Rob Crittenden <rcritten@redhat.com>