Possibilité pour un utilisateur normal de consulter les permissions

This commit is contained in:
Rodolphe Quiedeville 2005-02-21 11:26:05 +00:00
parent 9d31541560
commit d3d0271eb1

View File

@ -263,12 +263,9 @@ else
$hselected=$h; $hselected=$h;
$h++; $h++;
if ($user->admin) $head[$h][0] = DOL_URL_ROOT.'/user/perms.php?id='.$fuser->id;
{ $head[$h][1] = $langs->trans("Permissions");
$head[$h][0] = DOL_URL_ROOT.'/user/perms.php?id='.$fuser->id; $h++;
$head[$h][1] = $langs->trans("Permissions");
$h++;
}
if ($conf->bookmark4u->enabled) if ($conf->bookmark4u->enabled)
{ {