Monitor - non-admin account to view ALL calls?

Discussion in 'General' started by superiorit, Mar 23, 2011.

  1. superiorit

    Joined:
    Feb 10, 2011
    Messages:
    56
    Likes Received:
    0
    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?
     
  2. superiorit

    Joined:
    Feb 10, 2011
    Messages:
    56
    Likes Received:
    0
  3. Marc_kamel

    Joined:
    Jan 9, 2011
    Messages:
    11
    Likes Received:
    0
    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
     
  4. jgutierrez

    Joined:
    Feb 28, 2008
    Messages:
    5,737
    Likes Received:
    0
    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.
     

Share This Page