Disable deletion of list in Postorious

Hi,
I would like to configure Postorious in a way to disable the functionality to delete a list. Is there a way to do this?
Thanks Julian

On Tue, Mar 25, 2025 at 6:06 PM Julian Kippels <kippels@hhu.de> wrote:
Hi,
I would like to configure Postorious in a way to disable the functionality to delete a list. Is there a way to do this?
Thanks Julian
Also so that no one can create a list, right?
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 In an Internet failure case, the #1 suspect is a constant: DNS. "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]

Julian Kippels writes:
I would like to configure Postorious in a way to disable the functionality to delete a list. Is there a way to do this?
You would have to patch the code. There are four levels to this:
- You can hide the delete button on the list owner's view of the list page. (Someone who knows the URL can still invoke the callback.)
- You can remove the delete callback from the list view code. (Someone with access to the REST API can still use that.)
- You can remove the delete callback from the REST API. (This probably is enough, although it's possible that the 'mailman' command line utility could still do it -- I haven't checked.)
- You can remove the delete function entirely. Depending on why you want to do this, 1 might be sufficient.
I think it is unlikely that we would implement a configuration option for this. It's generally our philosophy that if you don't trust someone not to do such things, you shouldn't make them a list owner. If an owner wants to disable their list, there are several ways to do it (spam controls, emergency moderation, mass unsubscribe). But you could ask.
participants (3)
-
Julian Kippels
-
Odhiambo Washington
-
Stephen J. Turnbull