Merge branch '1.2.x'

Conflicts:
	modoboa/extensions/limits/tests.py
	modoboa/lib/permissions.py
This commit is contained in:
Antoine Nguyen
2015-03-11 13:35:21 +01:00
5 changed files with 40 additions and 23 deletions
+1
View File
@@ -90,6 +90,7 @@ class User(PermissionsMixin):
for ooentry in self.objectaccess_set.filter(is_owner=True):
if ooentry.content_object is not None:
grant_access_to_object(owner, ooentry.content_object, True)
ungrant_access_to_object(ooentry.content_object, self)
events.raiseEvent("AccountDeleted", self, fromuser, **kwargs)
ungrant_access_to_object(self)