When a user receive e-mail and is in CC then he can't edit this e-mail. For example he can't change the team or Parent.
Can i use any formula in email entity to resolve this?
Can i use any formula in email entity to resolve this?
// email addresses IDs
$userA = 'user-A-email-address-ID';
$userB = 'user-B-email-address-ID';
$userC = 'user-C-email-address-ID';
// team ID with access to edit email
$teamId = 'team-ID';
if (
array\includes(ccEmailAddressesIds, $userA) ||
array\includes(ccEmailAddressesIds, $userB) ||
array\includes(ccEmailAddressesIds, $userC)
) {
entity\addLinkMultipleId('teams', $teamId)
}
Comment