Restrict customers to see only their tickets. NOT Company!

Moderator: crythias

Locked
hmmmm3
Znuny newbie
Posts: 57
Joined: 17 Feb 2012, 07:48
Znuny Version: 3

Restrict customers to see only their tickets. NOT Company!

Post by hmmmm3 »

I want to restrict my customers from seeing all the tickets in the company and limit them to just their tickets.

I did it by doing the following changes in sysconfig:

Deleted:
the company tickets module under
CustomerFrontend::Module###CustomerTicketOverview
This deletes the tab from the customer portal

Set:
Granted to 0 in
CustomerTicket::Permission###3-CustomerIDCheck
This gives the customer an 'Insufficient Permissions' message if they try to access another customer's ticket.

It seems to work so far.
Am I missing something or is it that easy?!
Wow! No code changes!!
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Restrict customers to see only their tickets. NOT Compa

Post by crythias »

or assign a group to Company Tickets.
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
yuri0001
Znuny superhero
Posts: 630
Joined: 17 Mar 2011, 14:40
Znuny Version: 5.0.6
Real Name: Yuri Kolesnikov
Location: Russia

Re: Restrict customers to see only their tickets. NOT Compa

Post by yuri0001 »

To do this:
In Ticket-->Frontend::Customer::ModuleRegistration - delete group CompanyTickets in parameter
CustomerFrontend::Module###CustomerTicketOverView - click "-" under it. This delete the menu item Company ticket from customer Menu. :?
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)
Locked