summaryrefslogtreecommitdiff
path: root/src/mailman/rest/lists.py
diff options
context:
space:
mode:
authorBarry Warsaw2010-08-11 09:02:29 -0400
committerBarry Warsaw2010-08-11 09:02:29 -0400
commitb291fddae14ea2e52874e643bac263375b00d708 (patch)
tree5d6d00400deed2e4beb2d2879feff92eea79d313 /src/mailman/rest/lists.py
parent74be65c1ac8fcfd206ad26d9c61b8521fc86bda2 (diff)
downloadmailman-b291fddae14ea2e52874e643bac263375b00d708.tar.gz
mailman-b291fddae14ea2e52874e643bac263375b00d708.tar.zst
mailman-b291fddae14ea2e52874e643bac263375b00d708.zip
Expose anonymous_list and advertised in the IMailingList interface and in the configuration REST API.
Diffstat (limited to 'src/mailman/rest/lists.py')
-rw-r--r--src/mailman/rest/lists.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mailman/rest/lists.py b/src/mailman/rest/lists.py
index 896198748..5d3e68200 100644
--- a/src/mailman/rest/lists.py
+++ b/src/mailman/rest/lists.py
@@ -223,6 +223,8 @@ READABLE = (
'list_id',
'include_list_post_header',
'include_rfc2369_headers',
+ 'advertised',
+ 'anonymous_list',
# Contact addresses.
'posting_address',
'no_reply_address',
@@ -265,6 +267,8 @@ VALIDATORS = {
'real_name': unicode,
'include_list_post_header': as_boolean,
'include_rfc2369_headers': as_boolean,
+ 'advertised': as_boolean,
+ 'anonymous_list': as_boolean,
# Digests.
'digest_size_threshold': float,
# Notifications.