Add a new permission to active call center regarding issue 472.
This commit is contained in:
parent
a455b33af5
commit
f41fb95996
|
|
@ -42,4 +42,9 @@
|
|||
$apps[$x]['permissions'][0]['groups'][] = "admin";
|
||||
$apps[$x]['permissions'][0]['groups'][] = "superadmin";
|
||||
|
||||
$apps[$x]['permissions'][1]['name'] = "call_center_active_options";
|
||||
$apps[$x]['permissions'][1]['menu']['uuid'] = "7fb0dd87-e984-9980-c512-2c76b887aeb2";
|
||||
$apps[$x]['permissions'][1]['groups'][] = "admin";
|
||||
$apps[$x]['permissions'][1]['groups'][] = "superadmin";
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -145,7 +145,9 @@ else {
|
|||
echo "<th>".$text['label-tier_state']."</th>\n";
|
||||
echo "<th>".$text['label-tier_level']."</th>\n";
|
||||
echo "<th>".$text['label-tier_position']."</th>\n";
|
||||
if (permission_exists('call_center_active_options')) {
|
||||
echo "<th>".$text['label-options']."</th>\n";
|
||||
}
|
||||
echo "</tr>\n";
|
||||
foreach ($tier_result as $tier_row) {
|
||||
//$queue = $tier_row['queue'];
|
||||
|
|
@ -210,7 +212,7 @@ else {
|
|||
echo "<td valign='top' class='".$row_style[$c]."'>".$tier_level."</td>\n";
|
||||
echo "<td valign='top' class='".$row_style[$c]."'>".$tier_position."</td>\n";
|
||||
|
||||
if (if_group("admin") || if_group("superadmin")) {
|
||||
if (permission_exists('call_center_active_options')) {
|
||||
|
||||
echo "<td valign='top' class='".$row_style[$c]."'>";
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue