mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-05 01:16:27 +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"""
|
||||
self.archive()
|
||||
self.delete_data()
|
||||
LdapUser.objects.filter(name__in=self.pseudo)
|
||||
|
||||
def unarchive(self):
|
||||
"""Unfilling the user"""
|
||||
|
|
Loading…
Reference in a new issue