mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-12-02 12:13:54 +01:00
wip: UI refactoring
* fixed an issue with the FETCH responses parser * Aliases are now displayed into *identities* * French translation update see #204
This commit is contained in:
@@ -11,7 +11,8 @@ class Migration(DataMigration):
|
||||
try:
|
||||
sugroup = orm["auth.Group"].objects.get(name="SimpleUsers")
|
||||
except orm["auth.Group"].DoesNotExist:
|
||||
return
|
||||
sugroup = orm["auth.Group"](name="SimpleUsers")
|
||||
sugroup.save()
|
||||
for account in orm["auth.User"].objects.all():
|
||||
if not len(account.groups.all()):
|
||||
account.groups.add(sugroup)
|
||||
|
||||
Reference in New Issue
Block a user