-
- Downloads
[IMP] mail: factorize code that handles alias security in mail gateway
Currently check of alias security is directly embedded in mail.thread routing method. In this commit we move this check in the mail.alias.mixin class itself. Doing this allows models to extend or improve the behavior depending on how inheriting models use aliases.
Showing
- addons/hr/models/__init__.py 0 additions, 1 deletionaddons/hr/models/__init__.py
- addons/hr/models/mail_alias.py 20 additions, 1 deletionaddons/hr/models/mail_alias.py
- addons/hr/models/mail_thread.py 21 additions, 41 deletionsaddons/hr/models/mail_thread.py
- addons/mail/models/mail_alias.py 18 additions, 0 deletionsaddons/mail/models/mail_alias.py
- addons/mail/models/mail_thread.py 11 additions, 15 deletionsaddons/mail/models/mail_thread.py
Loading
Please register or sign in to comment