Allow emails shown to auditors to be locked down by domain

Issue #315 resolved
Former user created an issue

Hello,

Lets say I'm archiving e-mails for foo.com and bar.com

Would it be possible to allow Auditor A to view all e-mails for foo.com only, and Auditor B to view all e-mails for bar.com only as well?

Would be a nice feature to have.

Comments (3)

  1. Janos SUTO repo owner

    Try the following:

    Set $config['RESTRICTED_AUDITOR'] = 1; in config-site.php, then specify foo.com at the "Domains" field for Auditor A, and bar.com for Auditor B. You may verify the proper working by looking at the maillog, and watch if the domain list is added to the search query for these auditors. You may want to remove user auditor@local since this restriction is not applied to this one specific auditor account.

  2. Log in to comment