The attached patch creates a new hook_sharedemail_policy_info(). This hook allows other modules to define rules by which a given account will not be allowed to use an existing email account. See sharedemail.api.php for an example.

Comments

Grayside’s picture

StatusFileSize
new3.32 KB

Updated patch. Now passing the email address and array of uids for users already using the email address in question.

Grayside’s picture

StatusFileSize
new3.69 KB

Cleaning up the difference between new users and existing users.

baikho’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)