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");