Note: The default ITS GitLab runner is a shared resource and is subject to slowdowns during heavy usage.
You can run your own GitLab runner that is dedicated just to your group if you need to avoid processing delays.

Commit 142695a0 authored by Rob Carleski's avatar Rob Carleski 🇮🇸
Browse files

Add cached data checks for update_membership

WIthout these, update_membership() will nuke existing members, group
members, and external members if they're not referenced in the parent
code. Ope.
parent f5536d46
......@@ -549,10 +549,13 @@ class MCommGroup:
None
"""
if self.memberDn or self.members:
self.members
self.update_members()
if self.memberGroupDn or self.memberGroups:
self.memberGroups
self.update_member_groups()
if self.memberExternal or self.externalMembers:
self.externalMembers
self.update_external_members()
def update_members(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment