KamoCRM

StatusReasonAdviceTest's alias case also needs MANAGE_EMAIL_ACCOUNTS

TestEmailService
Shipped
September 23, 2026 at 9:04 AM UTC
Author
Kamo
Commit
966178c

Same shape as the AliasResponseMemberIsTextTest fix: this class's one shared session lacked the right, so createAlias's new gate answered 403 "MANAGE_EMAIL_ACCOUNTS required" before the request ever reached AliasService's mocked domain-verification refusal that **************** exists to check. The other four tests in this class are untouched by the addition: the campaign cases use MANAGE_BULK_EMAIL, and the contacts case is deliberately testing a DIFFERENT missing right (VIEW_CONTACTS).

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing