apache / incubator-ponymail

Apache Pony Mail (Incubating) - Email for Ponies & People
http://ponymail.incubator.apache.org/
Other
80 stars 30 forks source link

New feature: allow admins to remove e-mails from archives #59

Open ilgrosso opened 8 years ago

ilgrosso commented 8 years ago

Would it be of interest the possibility to give administrators the possibility to hide / remove specific e-mails from archives?

Humbedooh commented 8 years ago

step 1: how would you define an admin? :) It could be done, but would require some rewrite of the elastic library to support DELETE operations

PierreSmits commented 8 years ago

How will we ensure that this is inline with ASF policies and procedures regarding mailing lists and postings?

Humbedooh commented 8 years ago

Pierre, this has no relevance to the subject. How the ASF decides to utilize an implementation of this project is their business. It has no impact on how we decide to implement new features.

ilgrosso commented 8 years ago

@Humbedooh maybe this is not necessarily a feature to expose via web UI, it could very well be something accessible via CLI (as other tools including importer): in this way you can safely jump the "step 1" above :-)

Humbedooh commented 8 years ago

edit-list.py could be enhanced to do this, I suppose.

sebbASF commented 8 years ago

+1 to allowing mails to be 'hidden'

Humbedooh commented 8 years ago

Emails can be hidden by deleting the digest. This is what edit-lists.py does currently. The original email is retained in the source index, but the digest is removed, thus making the email not show up on lists.

ilgrosso commented 8 years ago

+1 to administratively hiding e-mails: are you saying that this issue can be just closed? Is the feature already documented?

Humbedooh commented 8 years ago

no, the issue can't be closed just yet. You can't delete emails by ID, only mass-remove lists with that script.

ShaneCurcuru commented 8 years ago

We need to clarify documentation, to be specific as to what happens to the data and the user access thereto after using this (new) feature.

That is: If an "admin" uses this feather, er, feature to delete the digest of a single message, then:

Apologies if some of those are naive questions, but if we're gonna add something that makes people think they deleted a message, we need to be clear exactly how it works.