Possibilité pour un utilisateur normal de consulter les permissions
This commit is contained in:
parent
9d31541560
commit
d3d0271eb1
@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user