Change the permission name from device_username to device_user.
This commit is contained in:
parent
75717d1d60
commit
17e921c140
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Reference in New Issue