Cannot send a courier message with cron because the active user does not have correct permissions for some text filter formats.
Problem
When the user is editing the template he has correct rights to access the filter format for TextFormat form elements (eg: courier_email body). But when courier managers validator recreates the entity with a clone, crons active user (anon), may not have rights to use that filter format.
Resolution:
Do not validate the entity again in courier manager. Rely on the initial validation in UI to be correct.
Summary
Cannot send a courier message with cron because the active user does not have correct permissions for some text filter formats.
Problem
When the user is editing the template he has correct rights to access the filter format for TextFormat form elements (eg: courier_email body). But when courier managers validator recreates the entity with a clone, crons active user (anon), may not have rights to use that filter format.
Resolution:
Do not validate the entity again in courier manager. Rely on the initial validation in UI to be correct.
Related
dpi/rng#92