mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-26 06:32:26 +00:00
Delete LDAPUser when full archiving a single user.
This commit is contained in:
parent
682803cca4
commit
2e2c72a9c3
1 changed files with 1 additions and 0 deletions
|
@ -618,6 +618,7 @@ class User(RevMixin, FieldPermissionModelMixin, AbstractBaseUser,
|
||||||
"""Full Archive = Archive + Service access complete deletion"""
|
"""Full Archive = Archive + Service access complete deletion"""
|
||||||
self.archive()
|
self.archive()
|
||||||
self.delete_data()
|
self.delete_data()
|
||||||
|
LdapUser.objects.filter(name__in=self.pseudo)
|
||||||
|
|
||||||
def unarchive(self):
|
def unarchive(self):
|
||||||
"""Unfilling the user"""
|
"""Unfilling the user"""
|
||||||
|
|
Loading…
Reference in a new issue