Restrict ticket type for customers

Moderator: crythias

Locked
schaffel
Znuny newbie
Posts: 90
Joined: 20 May 2008, 12:50
Znuny Version: 3.1.X
Real Name: Felix
Company: SyroCon Consulting GmbH
Location: Darmstadt

Restrict ticket type for customers

Post by schaffel »

We use OTRS-ITSM so we have the different ticket types.
Is there a way that customers can only select Incident as ticket type?

So when a customer creates a new ticket they should have only the choice to select one of the incident types (e.g. Incident::ServiceRequest)
Also email tickets from the customer should be tagged as incident tickets.
Where can I configure these two things? I did not find a description in the manuals.

As a bonus it would be nice allow the different ticket types by groups
(e.g. there could be a customer group that is allowed to open RfCs)

I hope that I don't have to get into the code to do this.
production: OTRS 5.0.X | OTRS:ITSM 5.0.X | AWS-RDS MariaDB 10.1.X | CentOS 7

Gibt es im Raum Frankfurt/Darmstadt OTRS/ITSM-Benutzer, die an einem Erfahrungsaustausch interessiert sind? Dann meldet euch um mit Gleichgesinnten über OTRS in der Praxis und den ganzen Rest zu reden.
rebiscoul
Znuny newbie
Posts: 1
Joined: 23 Aug 2011, 15:10
Znuny Version: 3.0
Real Name: Jacques REBISCOUL
Company: PRES Université de Toulouse

Re: Restrict ticket type for customers

Post by rebiscoul »

You can use an ACL.
Simply add in your Config.pm file :

Code: Select all

    $Self->{TicketAcl}->{'ACL-restrict-customer-ticket-types'} =
    {
        # match properties
         Properties =>
         {
              Frontend =>
              {
                  Action => ['CustomerTicketMessage', ],
              },
         },

         Possible =>
         {
             Ticket => { Type  => ['Incident::Disaster', 'Incident::ServiceRequest'], },
         },
    };

Locked