summaryrefslogtreecommitdiff
path: root/src/mailman/interfaces/mailinglist.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/interfaces/mailinglist.py')
-rw-r--r--src/mailman/interfaces/mailinglist.py24
1 files changed, 14 insertions, 10 deletions
diff --git a/src/mailman/interfaces/mailinglist.py b/src/mailman/interfaces/mailinglist.py
index 882afaf42..54cfa9d24 100644
--- a/src/mailman/interfaces/mailinglist.py
+++ b/src/mailman/interfaces/mailinglist.py
@@ -459,20 +459,24 @@ class IMailingList(Interface):
# Moderation.
- default_member_moderation = Attribute(
- """Default moderation flag for new mailing list members.
+ default_member_action = Attribute(
+ """The default action to take for postings from members.
- When an address is subscribed to the mailing list, this boolean
- attribute sets the initial moderation flag value. When a member's
- posts are moderated, they must first be approved by the mailing list
- owner or moderator.
+ When an address is subscribed to the mailing list, this attribute sets
+ the initial moderation action (as an `Action`). When the action is
+ `Action.defer` (the default), then normal posting decisions are made.
+ When the action is `Action.accept`, the postings are accepted without
+ any other checks.
""")
- member_moderation_action = Attribute(
- """Action to take when a moderated member posts to the mailing list.
+ default_nonmember_action = Attribute(
+ """The default action to take for postings from nonmembers.
- This is applied when the sender is a member of the mailing list and
- has their `is_moderated` flag set.
+ When a nonmember address posts to the mailing list, this attribute
+ sets the initial moderation action (as an `Action`). When the action
+ is `Action.defer` (the default), then normal posting decisions are
+ made. When the action is `Action.accept`, the postings are accepted
+ without any other checks.
""")