Outbound email subject ACL

Moderator: crythias

Locked
benjamin1
Znuny newbie
Posts: 14
Joined: 19 Aug 2015, 05:16
Znuny Version: 5.0.13

Outbound email subject ACL

Post by benjamin1 »

Hello OTRSers,

Some of our agents forget to add a subject when using 'Email Outbound' feature in OTRS.

I want to restrict sending of emails where no subject has been added by agent, can anyone advise if/how this could be achieved using an ACL?

Thanks,
Benjamin
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Outbound email subject ACL

Post by RStraub »

Welcome to the forum benjamin,

I'm mighty confused by your question as I cannot create articles (which is done when sending emails) without entering a subject. I checked responding, new email ticket and the ticket menu "AgentTicketEmailOutbound" - the subject is mandatory on all of these actions.

Did you disable the mandatory somehow? Or could you clarify which action exactly you are talking about?
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
benjamin1
Znuny newbie
Posts: 14
Joined: 19 Aug 2015, 05:16
Znuny Version: 5.0.13

Re: Outbound email subject ACL

Post by benjamin1 »

Thank you for Welcome.

Correct, the subject is mandatory however problem is the 'Subject' field auto-populates with ticketID so it passes this rule. I need to force agents to append a subject to the ticketID.
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Outbound email subject ACL

Post by RStraub »

Well, an ACL will not help you there, as a ACL restricts values or actions.

What you could do is adding javascript to the page that disables the submit button or outputs a warning if the subject does not include text.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Locked