diff options
| author | bwarsaw | 2001-10-15 21:54:41 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-10-15 21:54:41 +0000 |
| commit | 04713934dfb9421502b77c093e4de626ad3444bc (patch) | |
| tree | b2263fda7f26c453bed5b5dc59d5b816cbeb6892 /Mailman/Gui/Membership.py | |
| parent | 03a019366f85e49410b2c49d86f9a0d770cc10b4 (diff) | |
| download | mailman-04713934dfb9421502b77c093e4de626ad3444bc.tar.gz mailman-04713934dfb9421502b77c093e4de626ad3444bc.tar.zst mailman-04713934dfb9421502b77c093e4de626ad3444bc.zip | |
UpdateOldVars(): Handle the migration of the old privacy variables to
the new ones. I think this is as close as we can get:
- add default_member_moderation, accept_these_nonmembers,
hold_these_nonmembers, reject_these_nonmembers,
discard_these_nonmembers, forward_auto_discards,
generic_nonmember_action
- moderated -> generic_nonmember_action, also if we were moderating
this list, then the generic_nonmember_action should be to hold the
message, otherwise it should be to accept it.
- for each address in forbidden_posters, if the address is a member,
set their moderate flag to true, otherwise add them to
hold_these_nonmembers.
- posters (fun! not.) and member_posting_only: if member_posting_only
== yes and there are posters, then they are members and non-members
we automatically accept. So for members, turn off their moderation
bit, and for non-members we add them to accept_these_nonmembers.
BUT! if member_post_only == no, posters is the list of addresses we
only accept, with all others being held. So, first turn the
moderation bit on for all members, then for addresses in posters
which are members, turn their moderation bit off, and for addresses
which are nonmembers, add them to accept_these_nonmembers. Phew!
Diffstat (limited to 'Mailman/Gui/Membership.py')
0 files changed, 0 insertions, 0 deletions
