Add a new permission follow_me_ignore_busy.

This commit is contained in:
markjcrane 2016-02-26 14:13:32 -07:00
parent 66b43109c3
commit e542a9aea3
2 changed files with 18 additions and 12 deletions

View File

@ -789,6 +789,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "</td>\n";
echo "</tr>\n";
if (permission_exists('follow_me_ignore_busy')) {
echo " <tr>\n";
echo " <td class='vncell' valign='top' align='left' nowrap='nowrap'>";
echo $text['label-ignore-busy'];
@ -801,6 +802,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
//echo " <br> Interrupt call if one of destination are busy\n";
echo " </td>\n";
echo " </tr>\n";
}
if (permission_exists('follow_me_cid_name_prefix')) {
echo "<tr>\n";

View File

@ -62,6 +62,10 @@
$apps[$x]['permissions'][$y]['groups'][] = "admin";
$apps[$x]['permissions'][$y]['groups'][] = "user";
$y++;
$apps[$x]['permissions'][$y]['name'] = "follow_me_ignore_busy";
//$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
//$apps[$x]['permissions'][$y]['groups'][] = "admin";
$y++;
$apps[$x]['permissions'][$y]['name'] = "follow_me_cid_name_prefix";
//$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
//$apps[$x]['permissions'][$y]['groups'][] = "admin";