Fix bug [ bug #694 ] Set security permision to user belong to group
This commit is contained in:
parent
a92b1d8677
commit
968e980f58
@ -385,6 +385,15 @@ if ($result)
|
|||||||
print img_picto($langs->trans("Active"),'tick');
|
print img_picto($langs->trans("Active"),'tick');
|
||||||
print '</td>';
|
print '</td>';
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// Do not own permission
|
||||||
|
if ($caneditperms)
|
||||||
|
{
|
||||||
|
print '<td align="center"><a href="perms.php?id='.$fuser->id.'&action=addrights&entity='.$entity.'&rights='.$obj->id.'#'.$objMod->getName().'">'.img_edit_add($langs->trans("Add")).'</a></td>';
|
||||||
|
}
|
||||||
|
print '<td> </td>';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user