Monitor - non-admin account to view ALL calls?

superiorit

Joined
Feb 10, 2011
Messages
56
Likes
0
Points
0
#1
I see that if I put a user in the admin group, they can see all of the calls in the monitor, but how can I do this if I don't want to give them access to the rest of the functions (ie. FreePBX, etc). I have tried to create new permissions groups, but they only see calls in the monitor that belong to their assigned extension, regardless of permissions I assign the group. Am I missing something?
 

superiorit

Joined
Feb 10, 2011
Messages
56
Likes
0
Points
0
#2
Anyone?
 

Marc_kamel

Joined
Jan 9, 2011
Messages
11
Likes
0
Points
0
#3
You can do the following;

1) Create a new group called: Reports
2) Assign monitoring and report permissions for that group
3) Create an user and associate it with the Reports group, don't choose any extension
4) Edit /var/www/html/libs/paloSantoACL.class.php
And leave it like:
function isUserAdministratorGroup($username)
{
$is=false;
$idUser = $this->getIdUser($username);
if($idUser){
$arrGroup = $this->getMembership($idUser);
//$is = array_key_exists('administrator',$arrGroup);
$is = array_search('1', $arrGroup);

if(isset($arrGroup['Reports']))
$is=true;

}
return $is;
}
That will allow any user on that group to have full access of all records on the monitoring and reports modules
 

jgutierrez

Joined
Feb 28, 2008
Messages
5,737
Likes
0
Points
0
#4
Marc_kamel,

Your previous post seems very familiar to me, does this seems familiar to you:
viewtopic.php?f=25&t=32680

When quoting, give credit to the original poster, or paste the link.
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,886
Members
17,564
Latest member
Mai Tuyen
Top