User Status was hidden by an in accessible session variable use user_status permission. There permission is more consistent with the rest of the project.
This commit is contained in:
parent
aa3a412523
commit
5e0c27d592
|
|
@ -87,6 +87,11 @@
|
|||
$y++;
|
||||
$apps[$x]['permissions'][$y]['name'] = "view_users";
|
||||
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
||||
$y++;
|
||||
$apps[$x]['permissions'][$y]['name'] = "user_status";
|
||||
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
||||
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
||||
$apps[$x]['permissions'][$y]['groups'][] = "users";
|
||||
|
||||
//default settings
|
||||
$y=0;
|
||||
|
|
@ -467,3 +472,4 @@
|
|||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
||||
|
||||
?>
|
||||
|
||||
|
|
|
|||
|
|
@ -861,7 +861,7 @@
|
|||
echo " </td>\n";
|
||||
echo " </tr>\n";
|
||||
|
||||
if (isset($_SESSION['user_status_display']) && $_SESSION['user_status_display'] != "false") {
|
||||
if (permission_exists("user_status")) {
|
||||
echo " <tr>\n";
|
||||
echo " <td width='20%' class=\"vncell\" valign='top'>\n";
|
||||
echo " ".$text['label-status']."\n";
|
||||
|
|
|
|||
Loading…
Reference in New Issue