Don't allow a queue change if none customer is set.

Moderator: crythias

Post Reply
galias
Znuny newbie
Posts: 1
Joined: 01 Mar 2022, 16:11
Znuny Version: Znuny 6.4.5
Real Name: Daniil Schell
Company: galias GmbH

Don't allow a queue change if none customer is set.

Post by galias »

Hello friends!

Maybe there is already an answer to that question, but I didn't find it. If this is only a duplicate I would love to get the link to the original post :)

I'm currently trying to build a setup with that I can prevent Agents, to move Tickets to another Queue if the Ticket hasn't set a Customer.

My Idea was to set up ACL to get this idea working. But with the documentation I read, I'm not quite sure how to modify the ACL to my needs. (How can I check if Customer is none?)

If anyone has an Idea I would love to hear it :D

Thanks in advance!
Daniil
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Don't allow a queue change if none customer is set.

Post by root »

Hi,

Sure, this is possible. But it depends on the configuration of your CustomerUser/CustomerCompany configuration.
Depending on this and the setting of PostMaster::NewTicket::AutoAssignCustomerIDForUnknownCustomers it usually requires one or two ACLs.

1.) What is the typical CustomerID of a ticket? Just digits, name, and email address?
2.) What is the typical CustomerUserID of a ticket?
3.) What is the CustomerID of the ticket whenever the sender is unknown?

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
Post Reply