/[dolibarr]/dolibarr/htdocs/includes/modules/modTelephonie.class.php
ViewVC logotype

Diff of /dolibarr/htdocs/includes/modules/modTelephonie.class.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.28 by eldy, Sat Apr 2 12:19:59 2005 UTC revision 1.29 by rodolphe, Fri Aug 19 13:40:36 2005 UTC
# Line 152  class modTelephonie extends DolibarrModu Line 152  class modTelephonie extends DolibarrModu
152      $this->rights[10][3] = 0;      $this->rights[10][3] = 0;
153      $this->rights[10][4] = 'adsl';      $this->rights[10][4] = 'adsl';
154      $this->rights[10][5] = 'gerer';      $this->rights[10][5] = 'gerer';
155        $r = 10;
156    
157      $this->rights[11][0] = 215;      $r++;
158      $this->rights[11][1] = 'Définir le mode de réglement';  
159      $this->rights[11][2] = 'w';      $this->rights[$r][0] = 206;
160      $this->rights[11][3] = 0;      $this->rights[$r][1] = 'Consulter les liaisons';
161      $this->rights[11][4] = 'contrat';      $this->rights[$r][2] = 'w';
162      $this->rights[11][5] = 'paiement';      $this->rights[$r][3] = 0;
163        $this->rights[$r][4] = 'adsl';
164      $this->rights[12][0] = 193;      $this->rights[$r][5] = 'lire';
165      $this->rights[12][1] = 'Résilier des lignes';      $r++;
166      $this->rights[12][2] = 'w';  
167      $this->rights[12][3] = 0;      $this->rights[$r][0] = 215;
168      $this->rights[12][4] = 'ligne';      $this->rights[$r][1] = 'Définir le mode de réglement';
169      $this->rights[12][5] = 'resilier';      $this->rights[$r][2] = 'w';
170        $this->rights[$r][3] = 0;
171        $this->rights[$r][4] = 'contrat';
172        $this->rights[$r][5] = 'paiement';
173        $r++;
174    
175        $this->rights[$r][0] = 193;
176        $this->rights[$r][1] = 'Résilier des lignes';
177        $this->rights[$r][2] = 'w';
178        $this->rights[$r][3] = 0;
179        $this->rights[$r][4] = 'ligne';
180        $this->rights[$r][5] = 'resilier';
181        $r++;
182    
183        $this->rights[$r][0] = 194; // id de la permission
184        $this->rights[$r][1] = 'Consulter ses lignes (lecture restreinte)'; // libelle de la permission
185        $this->rights[$r][2] = 'r'; // type de la permission (déprécié à ce jour)
186        $this->rights[$r][3] = 1; // La permission est-elle une permission par défaut
187        $this->rights[$r][4] = 'ligne';
188        $this->rights[$r][5] = 'lire_restreint';
189        $r++;
190    
191        $this->rights[$r][0] = 146;
192        $this->rights[$r][1] = 'Consulter les fournisseurs';
193        $this->rights[$r][2] = 'w';
194        $this->rights[$r][3] = 0;
195        $this->rights[$r][4] = 'fournisseur';
196        $this->rights[$r][5] = 'lire';
197        $r++;
198    
199        $this->rights[$r][0] = 147;
200        $this->rights[$r][1] = 'Consulter les stats';
201        $this->rights[$r][2] = 'w';
202        $this->rights[$r][3] = 0;
203        $this->rights[$r][4] = 'stats';
204        $this->rights[$r][5] = 'lire';
205        $r++;
206    
207      // Dir      // Dir
208      $this->dirs[0] = $conf->telephonie->dir_output;      $this->dirs[0] = $conf->telephonie->dir_output;
# Line 177  class modTelephonie extends DolibarrModu Line 214  class modTelephonie extends DolibarrModu
214      $this->dirs[6] = $conf->telephonie->dir_output."/ligne/commande/retour" ;      $this->dirs[6] = $conf->telephonie->dir_output."/ligne/commande/retour" ;
215            
216      return $this->_init($sql);      return $this->_init($sql);
   
217    }    }
218    
219    /**    /**

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26