Elastix: user non-admin with Full-Access Group
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
Комментариев нет:
Отправить комментарий