mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +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:
@@ -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