Fix conflicts

This commit is contained in:
Oliver Walters 2020-10-06 12:34:30 +11:00
parent 11d31960c7
commit d691b15f4b

View File

@ -328,6 +328,11 @@ def create_missing_rule_sets(sender, instance, **kwargs):
group permissions. group permissions.
""" """
created = kwargs.get('created', False)
# To trigger the group permissions update: update_fields should not be None
update_fields = kwargs.get('update_fields', None)
if created or update_fields:
update_group_roles(instance) update_group_roles(instance)