mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-28 06:28:43 +01:00
Merge branch '1.2.x'
Conflicts: modoboa/extensions/limits/tests.py modoboa/lib/permissions.py
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user