Fix bug [ bug #694 ] Set security permision to user belong to group

This commit is contained in:
fhenry 2013-01-16 18:58:39 +01:00
parent a92b1d8677
commit 968e980f58

View File

@ -385,6 +385,15 @@ if ($result)
print img_picto($langs->trans("Active"),'tick');
print '</td>';
}
else
{
// Do not own permission
if ($caneditperms)
{
print '<td align="center"><a href="perms.php?id='.$fuser->id.'&amp;action=addrights&amp;entity='.$entity.'&amp;rights='.$obj->id.'#'.$objMod->getName().'">'.img_edit_add($langs->trans("Add")).'</a></td>';
}
print '<td>&nbsp</td>';
}
}
else
{