From 064817f98b37689f2402419ae114a33425b694a7 Mon Sep 17 00:00:00 2001
From: Rodolphe Quiedeville <rodolphe@quiedeville.org>
Date: Tue, 30 Aug 2005 16:17:51 +0000
Subject: [PATCH] Ajout des permissions TODO finir

---
 htdocs/telephonie/client/new.php | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/htdocs/telephonie/client/new.php b/htdocs/telephonie/client/new.php
index 69f2332cdcb..11d3c36edbf 100644
--- a/htdocs/telephonie/client/new.php
+++ b/htdocs/telephonie/client/new.php
@@ -177,7 +177,11 @@ if ($_POST["action"] == 'add')
       
       if ($result == 0)
 	{
-
+	  $soc->AddPerms(1,1,1,1);
+	  $soc->AddPerms(5,1,1,1);
+	  $soc->AddPerms(9,1,1,1);
+	  $soc->AddPerms(16,1,1,1);
+	  $soc->AddPerms($_POST["commercial_sign"],1,0,0);
 	}
       else
 	{
-- 
GitLab