mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
wip: UI refactoring
* Demo content updated * Give also access to the account when creating a new mailbox see #204
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -444,6 +444,7 @@ class AccountFormMail(forms.Form, DynamicForm):
|
||||
if user.is_superuser:
|
||||
for admin in self.mb.domain.admins:
|
||||
grant_access_to_object(admin, self.mb)
|
||||
grant_access_to_object(admin, self.mb.user)
|
||||
|
||||
else:
|
||||
if self.cleaned_data["email"] != self.mb.full_address:
|
||||
|
||||
Reference in New Issue
Block a user