Restrict to states in AgentTicketSearch

Moderator: crythias

Post Reply
micshi
Znuny expert
Posts: 191
Joined: 05 Jul 2011, 16:10
Znuny Version: 3.2.2
Real Name: Micshi
Location: Beijing
Contact:

Restrict to states in AgentTicketSearch

Post by micshi »

Hi,

When customer or agent searching for tickets, I want them only be ableto select a few specific states, such as 'new', 'open' and 'closed' and hide all other states for selection.

But the following ACL does not work for it.

Code: Select all

    $Self->{TicketAcl}->{'ACL-Agent-Customer-TickeSearch'} = {
        Properties => {
            Frontend => {
                Action => ['AgentTicketSearch', 'CustomerTicketSearch'],
            },
        },
        Possible => {
            Ticket => {
                State => ['new', 'open', 'closed'],
            },
        },
    };	
Can anyone work it out?

Thanks in advance

micshi
OTRS 3.2.2, ITSM 3.2.2, SystemMonitor
Ubuntu, Apache2, MySQL 5
My OTRS Blog
OTRS Basic Concept Training
OTRS Demo Instance
Post Reply