Read Only Company Tickets

Moderator: crythias

Locked
Gunz
Znuny newbie
Posts: 44
Joined: 30 Jun 2010, 01:43
Znuny Version: 2.4

Read Only Company Tickets

Post by Gunz »

Hi, I want eveyone in the Customer Panel to be able to see, but not change, everyone else's tickets under Company Tickets.

I think I understand how to give people access to everyone elses tickets using Company Ticket functionality however I've not seen any mention of how to make this READ ONLY access ... I need them to see everything in the queue but not modify anything other than their own (under My Tickets).

All help gratefully accepted!

--Wayne
Gunz
Znuny newbie
Posts: 44
Joined: 30 Jun 2010, 01:43
Znuny Version: 2.4

Re: Read Only Company Tickets

Post by Gunz »

Is anyone able to help me? Please, if you can... I would really appreciate your assistance.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Read Only Company Tickets

Post by crythias »

Please indicate your version and OS in your signature.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Read Only Company Tickets

Post by crythias »

I haven't seen anything in the code that puts ACL on the company. The permissions for the ticket are yes/no, as far as I've been able to tell, on the customer side.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
artjoms15
Znuny advanced
Posts: 121
Joined: 30 Aug 2011, 10:48
Znuny Version: 3.3.8 && 4.0.9
Real Name: Artjoms Petrovs
Location: Latvia

Re: Read Only Company Tickets

Post by artjoms15 »

We have meet the same problem and now I am working on this issue.
Well, my idea is to set a simple IF condition in a place where the FollowUp block is called.
e.g. if($Self->{TicketObject}->UserID == $Self->{ConfigObject}->Get('CustomerPanelUserID')){//allow to show <!-- dtl:block:FollowUp -->}
The problem is that I am not really familiar with PERL and cannot locate the place where this block is called. I am sure it has to be somewhere near CustomerTicketZoom.dtl and CustomerTicketZoom.pm.
Thanks in advance!
Ar cieņu / Kind regards,
----------------------------------------
Artjoms Petrovs
Sistēmu analītiķis/Programmētājs /
Systems Analyst/Programmer
Locked