mailcow / mailcow-dockerized

mailcow: dockerized - 🐮 + 🐋 = 💕
https://mailcow.email
GNU General Public License v3.0
8.87k stars 1.18k forks source link

Default ACLs for Domain-Admins/Mailboxes #3539

Open F3nr1s opened 4 years ago

F3nr1s commented 4 years ago

Is your feature request related to a problem? Please describe. I'm not happy with the default list of active ACLs for new Domain-Admins and Mailboxes and would like to configure them myself.

Describe the solution you'd like I would like to be able to configure the default ACLs in the web UI or via a config-file/php script on the server. When creating a new Mailbox or Domain-Admin, my own configuration should be used, if it exists, otherwise the default one should be used.

If there is already something like this, if someone could point me to it, it would be really great ;-)

andryyy commented 4 years ago

I think I will add it to vars.inc.php :) Thanks.

F3nr1s commented 4 years ago

Because I'm too lazy to search it myself, if you can tell me the PHP-files, which are adding new Domain-Admins and new mailboxes, I could perhaps do this for you and give you a merge request (I'm a fulltime PHP-Developer myself), so that 1. this features comes perhaps faster to me and 2. you can concentrate on other things.

vnukhr commented 3 years ago

Defaults for domain admins are hardcoded in db table da_acl column defaults Defaults for mailboxes are hardcoded in db table user_acl column defaults

Putting this here for anyone else having the same idea, before the defaults arrive in vars.inc.php

andryyy commented 3 years ago

I will add them to the UI soon. Sorry. :(

mr-manuel commented 2 years ago

Any updates on this?

shephirt commented 2 years ago

I am also looking for a possibility to adjust the default ACL. In setups with a huge one-time setup it's quite tidious to change this for each and every mailbox.

Mimuni commented 2 years ago

I also have the same requirement because I have to adjust it manually for many users.

f0xcb commented 1 year ago

any updates here?