summaryrefslogtreecommitdiff
path: root/src/mailman/interfaces/user.py
diff options
context:
space:
mode:
authorAurélien Bompard2015-07-29 16:46:34 +0200
committerBarry Warsaw2016-05-04 21:05:49 -0500
commit7216f6366ff51b034e420efb1206d1676dce78ef (patch)
tree4a7a3081494dae197a2a0b9e247e6373e90710ec /src/mailman/interfaces/user.py
parent3ea95814ac6eb10445bce46f0cc33489efd122d1 (diff)
downloadmailman-7216f6366ff51b034e420efb1206d1676dce78ef.tar.gz
mailman-7216f6366ff51b034e420efb1206d1676dce78ef.tar.zst
mailman-7216f6366ff51b034e420efb1206d1676dce78ef.zip
Diffstat (limited to 'src/mailman/interfaces/user.py')
-rw-r--r--src/mailman/interfaces/user.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mailman/interfaces/user.py b/src/mailman/interfaces/user.py
index f1932fd7f..bdeccce3f 100644
--- a/src/mailman/interfaces/user.py
+++ b/src/mailman/interfaces/user.py
@@ -109,3 +109,11 @@ class IUser(Interface):
preferences = Attribute(
"""This user's preferences.""")
+
+ def absorb(user):
+ """Merge this user's attributes and memberships, and then delete it.
+
+ In case of conflict, the current user's properties are preserved.
+ If an IAddress is given, the merge will be performed on the addresses'
+ linked user.
+ """