Merge pull request #616 from FHenry/3.3

Fix bug [ bug #694 ] Set security permision to user belong to group
This commit is contained in:
Laurent Destailleur 2013-01-16 11:45:33 -08:00
commit 3685911bfa

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
{