ACL auf Tickettyp in AgentTicketPhone u. AgentTicketEmail

Hilfe zu Znuny Problemen aller Art
Locked
lukener
Znuny newbie
Posts: 3
Joined: 05 Mar 2011, 11:19
Znuny Version: 3.0.6

ACL auf Tickettyp in AgentTicketPhone u. AgentTicketEmail

Post by lukener »

Hallo,

ich versuche folgende ACL zu implementieren (OTRS 3.1.8.):

Code: Select all

 $Self->{TicketAcl}->{'ACL-Agent-TicketTypes'} = {
         Properties => {
            Frontend => {
                Action => ['AgentTicketPhone','AgentTicketEmail'],
            },
         },
         PossibleNot => {
               Ticket => {
                   Type  => ['[RegExp]^Problem'],

                   Queue => ['[RegExp]^Postmaster',
                             '[RegExp]^Raw',
                             '[RegExp]^Junk',
                             '[RegExp]^Misc'],
               },
         },
    };
Die Einschränkung auf die Queue funktioniert, aber die Einschränkung auf den Typ bleibt ohne Wirkung.

Was könnte die Ursache sein?

Danke!

Gruß
René
ddDagobert
Znuny wizard
Posts: 350
Joined: 13 May 2009, 14:24
Znuny Version: 5.0.10

Re: ACL auf Tickettyp in AgentTicketPhone u. AgentTicketEmai

Post by ddDagobert »

Ich weiß nicht dir Ursache - aber ich hab's anderers herum mit einer WhiteList, und das funkt einwandfrei (in der 3.1.8):

Code: Select all

$Self->{TicketAcl}->{'Typenzuweisung-AF'} = {
#Im Agentenfrontend sollen nur die angegebenen 4 Typen möglich sein.
# match properties
	 Properties => {
		 Frontend => {
			 Action => [
			 'AgentTicketPhone',   'AgentTicketEmail', 'AgentTicketAddtlITSMField',
			 ],
		 },
	},
	# return possible options (white list)
	Possible => {
	# possible ticket options (white list)
		Ticket => {
			Type => ['Entwicklung', 'Fehler/Störung', 'Optimierungsvorschlag', 'Serviceanfrage'],
		},
	 },
 };
Produktiv: OTRS 5.0.10 mit ITSM + Individualpakete und Feature AddOn auf SLES 11 SP2 mit PosgtreSQL 9.3
Test: OTRS 5.0.10 mit ITSM + Individualpakete und Feature AddOn auf SLES 11 SP2 mit PosgtreSQL 9.3
Entwicklung: OTRS 5.0.10 mit ITSM + Individualpakete und Feature AddOn auf SLES 11 SP2 mit PosgtreSQL 9.3
lukener
Znuny newbie
Posts: 3
Joined: 05 Mar 2011, 11:19
Znuny Version: 3.0.6

Re: ACL auf Tickettyp in AgentTicketPhone u. AgentTicketEmai

Post by lukener »

Danke!

Gruß
René
Locked