Skip to content
Snippets Groups Projects
Commit 3685911b authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #616 from FHenry/3.3

Fix bug [ bug #694 ] Set security permision to user belong to group
parents 2f528cc0 968e980f
No related branches found
No related tags found
No related merge requests found
......@@ -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
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment