We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c56ca5 commit 565d6ceCopy full SHA for 565d6ce
user_sync/config/sign_sync.py
@@ -287,6 +287,8 @@ def load_primary_group_rules(self, umg):
287
primary_group_rules = []
288
if umg:
289
group_config = self.main_config.get_list_config('primary_group_rules', True)
290
+ if group_config is None:
291
+ raise AssertionException("'primary_group_rules' is required for UMG sync")
292
for mapping in group_config.iter_dict_configs():
293
sign_groups = mapping.get_list('sign_groups')
294
primary_group = mapping.get_string('primary_group')
0 commit comments