How to assign Email Template to role not to specific user?

I want a specific role (sales agent) to be able to see email templates.
I have all group owner options in roles.

If i have security groups for different branches I can select group.

But how do I assign from email template to group or to roles? I see only the option to assign it to specific user. There is a workaround for this or only from code?

I dont think exists maybe to add it in the future updates, now only directly from the db manually with code

When you open email template, then you should have a security Groups subpanel to select a group.

this is what I have on email template: no security group subpanel:


I run the latest apache ubuntu crm php

Click on cancel and then check at the bottom.

Thank you. Find it.
So I should make a security group with all the users from the roles of sales agent add them to the group and then add the group to the email template, and set the permissions of email template user to Group, right?

Please follow this document:


In detail:

Thank you, I saw the videos, and now I re-read the docs and saw that you can also add roles to security groups without users, so I guess if i only add the role Sales Agent to a new security group, and add this new security group to the email template, it will automatically provide group acces only to the roles of Sales agent, without adding manually the rest of the security groups with roles and agents (branch A, B etc)

Yeah maybe, let us know when you set it and if it worked for you or not.

Click on solution :white_check_mark: which solved your problem.

the last solution doesnt work. I only added roles to security groups and assign that security group to email template, and when I logged in to that user nothing is showned to Email Templates. I edit Email template to Group Acces from roles.