[otrs] Help with using subqueue names and UTF names in ACL

Oleg O. Orlov oo at nio.ru
Mon May 7 20:55:30 GMT 2007


Hi All.
I need in using UTF-8 in queue names of ACL variables.
Also, I need to use any of configured queues (including subqueues) names in
ACL.


1. The problem resolved  with this trick (may be otrs needs in
corresponding patch ???) :

	$Self->{TicketAcl}->{'ACL-Limit-Input-Queues'} = {
	...
		Possible => {le

			Ticket => {
			...
			Queue => ['Russian_UTF8_string']
			...
			}
		}
	...
	}
	...
	Encode::_utf8_on ( $Self->{TicketAcl}->{'ACL-Limit-Input-Queues'}->{'Possible'}->{'Ticket'}->{'Queue'}[0] );
without this additional strings in config, ACL does not work

2. Independent of using UTF8 symbols or not, ACL does not work if Queue
is subque, for example 'second_line::outgoing_calls'

How to fix it ? It is very important to use every Queue in ACL's
And may be reasonable to change using Queue name in ALC to Queue_ID,
Because 
1. Numbers have not i18n problem 
2. Changing queue name will not require to change ACL text.



More information about the otrs mailing list