wip: UI refactoring

* Demo content updated
* Give also access to the account when creating a new mailbox

see #204
This commit is contained in:
Antoine Nguyen
2012-05-03 17:06:11 +02:00
parent 891edc0020
commit 0dc36d19db
5 changed files with 6 additions and 3 deletions
+1
View File
@@ -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: