[Solved]Using ACLs to Filter Dynamic Field based on Queue

Moderator: crythias

Locked
MHCDdave
Znuny newbie
Posts: 7
Joined: 30 Jul 2019, 22:36
Znuny Version: 6.18

[Solved]Using ACLs to Filter Dynamic Field based on Queue

Post by MHCDdave »

Hi Folks,

Looking for a little help getting ACLs to work. Basically I have four teams, and I want to filter a dynamic field of "category" to only show a subset of those categories based on the selected team during ticket creation (and when editing free fields too if possible)

I've created a queue for each team and tried to set up the ACL as follows:

Match Settings:

Properties -> Queue - > T1 - Call Centre -> Exact Match
*in my understanding this means when the queue is set to exactly match "T1 - Call Centre, enact the following change settings*

Change settings:

Possible -> Ticket -> DynamicField_Category -> RegularExpression = CS_


*CS_ is the start of all the keys in my dynamic field that I want showing for that team

I click save and finish, then deploy the ACL and nothing happens. I've tried using PossibleNot to on everything *but* CS_, I've tried using the key, I've tried using the value, I've tried setting the match criteria to the dynamic field and change settings to select the queue just to see if I could make something happen and get nothing. I'm assuming it's syntax, but I'm not sure what I've got wrong or where.

I've attached a screenshot of the ACL.
Untitled.png
You do not have the required permissions to view the files attached to this post.
Last edited by MHCDdave on 31 Jul 2019, 17:58, edited 1 time in total.
OTRS 6.18
root
Administrator
Posts: 4239
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Using ACLs to Filter Dynamic Field based on Queue

Post by root »

Hi,

When editing the ACL enter Name instead of the queue name and in the next step the queue name:
2019-07-31 at 6.29 AM.png
- Roy
You do not have the required permissions to view the files attached to this post.
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 ?
MHCDdave
Znuny newbie
Posts: 7
Joined: 30 Jul 2019, 22:36
Znuny Version: 6.18

Re: [Solved]Using ACLs to Filter Dynamic Field based on Queue

Post by MHCDdave »

That was what i was missing! Thanks! It's all working now!
OTRS 6.18
Locked