From 215242a4a1dc63809ffa0dd3de3d246ad49f3ce0 Mon Sep 17 00:00:00 2001 From: quentin Date: Thu, 6 Aug 2020 14:11:26 +0200 Subject: [PATCH] fix right project info.php --- htdocs/projet/info.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/projet/info.php b/htdocs/projet/info.php index d2b95726aea..b08f3ab737a 100644 --- a/htdocs/projet/info.php +++ b/htdocs/projet/info.php @@ -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();