Customer access to statistics module

Moderator: crythias

Locked
jason786
Znuny newbie
Posts: 5
Joined: 06 Nov 2014, 12:51
Znuny Version: OTRS 3.9

Customer access to statistics module

Post by jason786 »

Can we allow Customers on the customer interface(customer.pl) to access the statistics module ?

I am using OTRS 3.9 on Centos 6.5.

I have tried from Admin page > Customer Management >> Added the customers to the Stats group....
but when I log in to to customer interface with that user it doesn't show the statistics module.

Please guide me how to get the statistics module on the customer interface ?
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Customer access to statistics module

Post by crythias »

No. Better to schedule and send.
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
jason786
Znuny newbie
Posts: 5
Joined: 06 Nov 2014, 12:51
Znuny Version: OTRS 3.9

Re: Customer access to statistics module

Post by jason786 »

Thanks crythias for your response.

I was going through the documentation of Stats Module on https://otrs.github.io . Below sysconfig groups contain all the information for the stats module:

1.Framework:Core::Stats,
2. Framework:Core::Stats::Graph and
3. Framework:Frontend::Agent::Stats

I have also followed the HelloWorldModule example and managed to configure it on the customer interface. Now, following the same approach - Can I reuse the code of the already configured AgentStats.pm and make the Statistics tab available on customer.pl ?

/opt/otrs/Kernel/System/Stats.pm - can this be used by both the agents and customers ?

Regards,
Giulio Soleni
Znuny wizard
Posts: 392
Joined: 30 Dec 2010, 14:35
Znuny Version: 6.0.x and 5.0.x
Real Name: Giulio Soleni
Company: IKS srl

Re: Customer access to statistics module

Post by Giulio Soleni »

Hallo,
provided that you may try and change the code as you like, as crythias already told you, stats are not shipped for customers as well as they are for agents.
Without changing the code, however, if your customers really need to run stats on their own, you might define some new users on the agents' console (index.pl) and let your customers access the stats from the agents' console.
The big deal is however to assign the correct strict permissions to these "customer-like" agents so that they could not act as actual agents but can only access to stats, and only the stats of their competence.
OTRS 6.0.x on CentOS 7.x with MariaDB 10.2.x database connected to an Active Directory for Agents and Customers.
ITSM and FAQ modules installed.
jason786
Znuny newbie
Posts: 5
Joined: 06 Nov 2014, 12:51
Znuny Version: OTRS 3.9

Re: Customer access to statistics module

Post by jason786 »

Thanks Giulio for your response.

I added an agent which will be just a customer and only alloted stats group to him under Agents<->Groups.

Now, when I try to login as this particular user, I can see the following tabs getting displayed:

1. Dashboard
2. Customers
3. Tickets
4. Statistics

Is it possible that I only display Statistics tab for him ?
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Customer access to statistics module

Post by jojo »

no. Agent interface is not intented to be used by customers
"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
jason786
Znuny newbie
Posts: 5
Joined: 06 Nov 2014, 12:51
Znuny Version: OTRS 3.9

Re: Customer access to statistics module

Post by jason786 »

Hi Giulio,
The big deal is however to assign the correct strict permissions to these "customer-like" agents so that they could not act as actual agents but can only access to stats, and only the stats of their competence
I was able to allow only the statistcs tab to display for a particular user using the sysconfig settings.

1. Created Statistics Group
2. Add that particular user to the stats as well as Statistics group.
3. In the sysconfig settings, configured the Statistics tab to display only for Statistics group.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Customer access to statistics module

Post by jojo »

the stats group is already doing this
"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
Locked