OTRS Control Queue Visibility based on Group

English! place to talk about development, programming and coding
Post Reply
sunylkumar
Znuny newbie
Posts: 16
Joined: 16 Jul 2011, 02:19
Znuny Version: 3.0
Real Name: Sunyl
Company: DDC

OTRS Control Queue Visibility based on Group

Post by sunylkumar »

Hi,

I am trying to use groups to set visibility on queues:

Code: Select all

	$Self->{TicketAcl}->{'ACL-Queues-Visibility'} = {
        # match properties
        Properties => {
			User => {
				Group_rw => ['Group1'],
			},
		},
		#Action - 
		Possible  => {
			Ticket => {
				Queue => ['G1',],
				
			},
		
			

		},
	};


$Self->{TicketAcl}->{'ACL-Queues-Visibility'} = {
        # match properties
        Properties => {
			User => {
				Group_rw => ['Group2'],
			},
		},
		#Action - 
		Possible  => {
			Ticket => {
				Queue => ['G2',],
				
			},
		
			

		},
	};


$Self->{TicketAcl}->{'ACL-Queues-Visibility'} = {
        # match properties
        Properties => {
			User => {
				Group_rw => ['Group1,Group2'],
			},
		},
		#Action - 
		Possible  => {
			Ticket => {
				Queue => ['G1','G2'],
				
			},
		
			

		},
	};

Now here's a problem, if you are in Group1 you shouldn't be able to see queue G2 but right now no matter which group you are in it shows both G1 and G2 queues. Does anyone know solution to this?
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: OTRS Control Queue Visibility based on Group

Post by jojo »

this will be done via permissions. Not via ACLs
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Post Reply