summaryrefslogtreecommitdiff
path: root/src/mailman/interfaces/member.py
diff options
context:
space:
mode:
authorBarry Warsaw2010-12-29 23:54:08 -0500
committerBarry Warsaw2010-12-29 23:54:08 -0500
commit534e90fea33c52585c74fa9127cca8b70178d5e0 (patch)
tree3a5d4088b5af1a4b310dffba711389ac67792dd2 /src/mailman/interfaces/member.py
parenta31184862fc52a3c38059f832d533b137135c1f9 (diff)
downloadmailman-534e90fea33c52585c74fa9127cca8b70178d5e0.tar.gz
mailman-534e90fea33c52585c74fa9127cca8b70178d5e0.tar.zst
mailman-534e90fea33c52585c74fa9127cca8b70178d5e0.zip
Diffstat (limited to 'src/mailman/interfaces/member.py')
-rw-r--r--src/mailman/interfaces/member.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mailman/interfaces/member.py b/src/mailman/interfaces/member.py
index 51caa6f6f..feae1aa9d 100644
--- a/src/mailman/interfaces/member.py
+++ b/src/mailman/interfaces/member.py
@@ -69,6 +69,7 @@ class MemberRole(Enum):
member = 1
owner = 2
moderator = 3
+ nonmember = 4
@@ -132,8 +133,8 @@ class IMember(Interface):
role = Attribute(
"""The role of this membership.""")
- is_moderated = Attribute(
- """True if the membership is moderated, otherwise False.""")
+ moderation_action = Attribute(
+ """The moderation action for this member as an `Action`.""")
def unsubscribe():
"""Unsubscribe (and delete) this member from the mailing list."""