John F. Lewis has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/170398

Change subject: mailman: enable rmlist for web-list deletion
......................................................................

mailman: enable rmlist for web-list deletion

This is as a result of a discussion with Daniel on IRC.
After a quick discussion, we thought it might be a nice idea
to put this out for a discussion and I then decided patching
this to puppet would give a good way to discuss it.

This enables the /mailman/rmlist/$list option for mailing lists.
When a listadmin goes to that page, they are prompted to to input
the list administrator password and then given a 'delete archives
or not' option. If they select no, then the list is no longer
listed on /listinfo and any emails to the list bounce. If the
yes option is selectd, the archives are also delete.

If the archives are not deleted - they are still accessible in the
usual place.

This does not expose any security risks in mailman or the like but
does mean a rogue listadmin is a little worse. The upside is, it
means ops members are not needed to delete lists any more and can
act as a permanent 'list disable'.

Change-Id: Id21e65c4a2434ebe5cab5b4ca06ab021011fc66b
---
M files/mailman/mm_cfg.py
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/98/170398/1

diff --git a/files/mailman/mm_cfg.py b/files/mailman/mm_cfg.py
index 52fc11b..0358d9a 100644
--- a/files/mailman/mm_cfg.py
+++ b/files/mailman/mm_cfg.py
@@ -123,3 +123,6 @@
 
 # use https for mailman archive links instead of the default http
 PUBLIC_ARCHIVE_URL = 'https://%(hostname)s/pipermail/%(listname)s/'
+
+# allow listadmins to delete mailing lists
+OWNERS_CAN_DELETE_THEIR_OWN_LISTS = yes

-- 
To view, visit https://gerrit.wikimedia.org/r/170398
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id21e65c4a2434ebe5cab5b4ca06ab021011fc66b
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: John F. Lewis <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to