From e16afc63797ad1f8299d2fd2f40e325555a151ec Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Sun, 10 Aug 2003 11:58:57 +0000 Subject: [PATCH] Ajout permissions --- htdocs/comm/clients.php3 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/htdocs/comm/clients.php3 b/htdocs/comm/clients.php3 index f3ce6573b9a..25f19e22d4a 100644 --- a/htdocs/comm/clients.php3 +++ b/htdocs/comm/clients.php3 @@ -246,7 +246,14 @@ if ($result) if ($user->societe_id == 0) { - print "idp&action=create\">[Propal]\n"; + if ($user->rights->propale->creer) + { + print "idp&action=create\">[Propal]\n"; + } + else + { + print " \n"; + } if ($conf->fichinter->enabled) { print "idp&action=create\">[Fiche Inter]\n";