From 1e8366ae5ff14731caf823a70bdb0302d5a0a41e Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Sun, 21 Aug 2005 19:09:05 +0000 Subject: [PATCH] Modif permissions --- htdocs/comm/clients.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/htdocs/comm/clients.php b/htdocs/comm/clients.php index 646828ba3d1..edd5d25b1bd 100644 --- a/htdocs/comm/clients.php +++ b/htdocs/comm/clients.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2001-2005 Rodolphe Quiedeville * Copyright (C) 2004-2005 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify @@ -22,14 +22,16 @@ */ /** - \file htdocs/comm/clients.php - \ingroup commercial, societe - \brief Liste des clients - \version $Revision$ + \file htdocs/comm/clients.php + \ingroup commercial, societe + \brief Liste des clients + \version $Revision$ */ require("./pre.inc.php"); +if (!$user->rights->societe->lire) accessforbidden(); + // Sécurité accés client if ($user->societe_id > 0) {