From 0e85e51a4b0ed53838afaf97b527dcd6a7879807 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Thu, 25 Aug 2005 15:08:50 +0000 Subject: [PATCH] Modif permissions d'acces --- htdocs/comm/index.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/htdocs/comm/index.php b/htdocs/comm/index.php index 51c8604e106..1f4b715d925 100644 --- a/htdocs/comm/index.php +++ b/htdocs/comm/index.php @@ -29,6 +29,9 @@ require("./pre.inc.php"); +if (!$user->rights->commercial->main->lire) + accessforbidden(); + if ($conf->contrat->enabled) require_once(DOL_DOCUMENT_ROOT."/contrat/contrat.class.php");