This commit is contained in:
j 2021-11-05 00:12:46 +00:00
parent ae8363d4e2
commit 4dbb5e3c51

View file

@ -558,7 +558,7 @@ def edit_item(user, item, data, is_task=False):
user_groups = set([g.name for g in user.groups.all()]) user_groups = set([g.name for g in user.groups.all()])
other_groups = list(groups - user_groups) other_groups = list(groups - user_groups)
data['groups'] = [g for g in data['groups'] if g in user_groups] + other_groups data['groups'] = [g for g in data['groups'] if g in user_groups] + other_groups
r = item.edit(data, is_task=is_tras) r = item.edit(data, is_task=is_task)
if r: if r:
r.wait() r.wait()
if update_clips: if update_clips: