mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 03:33:49 +00:00
Change the permission name from device_username to device_user.
This commit is contained in:
@@ -127,7 +127,7 @@
|
||||
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
||||
$apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
||||
$y++;
|
||||
$apps[$x]['permissions'][$y]['name'] = 'device_username';
|
||||
$apps[$x]['permissions'][$y]['name'] = 'device_user';
|
||||
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
||||
$apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
||||
$y++;
|
||||
|
||||
@@ -1346,7 +1346,7 @@ require_once "resources/require.php";
|
||||
echo " </tr>\n";
|
||||
}
|
||||
|
||||
if (permission_exists('device_username')) {
|
||||
if (permission_exists('device_user')) {
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
|
||||
echo " ".$text['label-user']."\n";
|
||||
|
||||
Reference in New Issue
Block a user