Customer Searсh

Moderator: crythias

Locked
yuri0001
Znuny superhero
Posts: 630
Joined: 17 Mar 2011, 14:40
Znuny Version: 5.0.6
Real Name: Yuri Kolesnikov
Location: Russia

Customer Searсh

Post by yuri0001 »

In my OTRS installation CustomerID is used as Company ID.
In customer interface I'll removed the ability to view by the client company tickets.
BUT.
In customer search, when customer does not indicate his Name in search crieria - system returns as result all company tickets wich match the search criteria.
As result - customer gets access to these tickets - it's not good.
How to restrict customer access to company tickets through the search? :(
Best regards Yuri Kolesnikov
OTRS 5.0.14, ITSM 5.0.14
SUSE 13.2, MariaDB 10.0.22(productive)
OTRS 5.0.14, ITSM 5.0.14(test)
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Customer Searсh

Post by crythias »

don't allow them to search. or change the code.
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
otrsgsy
Znuny newbie
Posts: 16
Joined: 17 Aug 2012, 12:50
Znuny Version: 3.1.8
Real Name: Dan

Re: Customer Searсh

Post by otrsgsy »

Hi Crythias,

If I wanted to change the code to restrict the access I assume I would copy the CustomeTictetSearch.dtl file from the Standard folder to my site folder and then tweak the From field so that it is locked down to the customer who created the ticket.

If so, could you please advise what code would be required to lock the search to the logged in customer?

Code: Select all

<div>
          <label for="From">$Text{"From"}</label>
          <input title="$Text{"Sender"}" type="text" id="From" name="From" value="$QData{"From"}" size="20" />
</div>
Thanks
OTRS 3.1.12
Ubuntu
MYSQL DB
Locked