fix right project info.php
This commit is contained in:
parent
641d9a6565
commit
215242a4a1
@ -63,7 +63,7 @@ $search_agenda_label=GETPOST('search_agenda_label');
|
||||
$id = GETPOST("id", 'int');
|
||||
$socid=0;
|
||||
//if ($user->societe_id > 0) $socid = $user->societe_id; // For external user, no check is done on company because readability is managed by public status of project and assignement.
|
||||
$result=restrictedArea($user, 'projet', $id, '');
|
||||
$result=restrictedArea($user, 'projet', $id, 'projet&project');
|
||||
|
||||
if (!$user->rights->projet->lire) accessforbidden();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user