Change creation of mail users to dynamic
authorChristian Herdtweck <christian.herdtweck@intra2net.com>
Mon, 2 Dec 2019 12:08:24 +0000 (13:08 +0100)
committerChristian Herdtweck <christian.herdtweck@intra2net.com>
Thu, 19 May 2022 09:13:27 +0000 (11:13 +0200)
commit998bc6bbe9d918b637c558cc4896068c2dd7ed91
tree5478f17a6344edcf25af7ebe63671a4ff2a92b85
parentb1d18c401c432f3f079eaeec733072a78d90e387
Change creation of mail users to dynamic

This is more easily extendable and avoids old bad habit of passing down
huge param dicts to very specific functions like this one.

User creation is hard to test, so there is no unittest for this yet. Manual
tests succeeded. Have to adapt QA tests and test there further.

Additionally to the original conversion, default mail users don't have
to be administrators.
src/mail_utils.py