Add a new permission follow_me_ignore_busy.
This commit is contained in:
@@ -789,6 +789,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
|||||||
echo "</td>\n";
|
echo "</td>\n";
|
||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
|
|
||||||
|
if (permission_exists('follow_me_ignore_busy')) {
|
||||||
echo " <tr>\n";
|
echo " <tr>\n";
|
||||||
echo " <td class='vncell' valign='top' align='left' nowrap='nowrap'>";
|
echo " <td class='vncell' valign='top' align='left' nowrap='nowrap'>";
|
||||||
echo $text['label-ignore-busy'];
|
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 " <br> Interrupt call if one of destination are busy\n";
|
||||||
echo " </td>\n";
|
echo " </td>\n";
|
||||||
echo " </tr>\n";
|
echo " </tr>\n";
|
||||||
|
}
|
||||||
|
|
||||||
if (permission_exists('follow_me_cid_name_prefix')) {
|
if (permission_exists('follow_me_cid_name_prefix')) {
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
|
|||||||
@@ -62,6 +62,10 @@
|
|||||||
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
||||||
$apps[$x]['permissions'][$y]['groups'][] = "user";
|
$apps[$x]['permissions'][$y]['groups'][] = "user";
|
||||||
$y++;
|
$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]['name'] = "follow_me_cid_name_prefix";
|
||||||
//$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
//$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
||||||
//$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
//$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
||||||
|
|||||||
Reference in New Issue
Block a user