Cleanup platform.mail
---------------------
Key: CLEREZZA-228
URL: https://issues.apache.org/jira/browse/CLEREZZA-228
Project: Clerezza
Issue Type: Improvement
Reporter: Reto Bachmann-Gmür
* Only methods related to typerendering and/or platform users should stay
* Its unclear how this permission work, why an action is needed and what the
public field SEND_MAIL is for (no documentation). Analysing the code I
understand:
SEND_FROM: needed to send an email from and to a user of the same
clerezza-instance using an email address associated to a user mentioned by
username in the target of the permission
SEND_MAIL: permission to send emails from any address and to any address
->I'd suggest to permit only sending user as the currently logged in user
and to distinguish between the permission to send to anybody or just to other
registered users.
* The methods takes a list of media-types but uses only one of them, I don't
see the need of giving a choice to the implementation but I think it would be
useful to be able to produce multi-part messages (like text and html)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.