Skip to content

Commit 02874d5

Browse files
authored
Update modService.class.php
1 parent 35c43c2 commit 02874d5

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

htdocs/core/modules/modService.class.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,14 @@ public function __construct($db)
110110
$this->rights[$r][5] = 'read_prices';
111111
$r++;
112112

113+
$this->rights[$r][0] = 535; // id de la permission
114+
$this->rights[$r][1] = 'Read supplier prices'; // libelle de la permission
115+
$this->rights[$r][2] = 'w'; // type de la permission (deprecated)
116+
$this->rights[$r][3] = 0; // La permission est-elle une permission par default
117+
$this->rights[$r][4] = 'product_advance';
118+
$this->rights[$r][5] = 'read_supplier_prices';
119+
$r++;
120+
113121
$this->rights[$r][0] = 534; // id de la permission
114122
$this->rights[$r][1] = 'Delete les services'; // libelle de la permission
115123
$this->rights[$r][2] = 'd'; // type de la permission (deprecated)
@@ -124,14 +132,6 @@ public function __construct($db)
124132
$this->rights[$r][4] = 'export';
125133
$r++;
126134

127-
$this->rights[$r][0] = 539; // id de la permission
128-
$this->rights[$r][1] = 'Read supplier prices'; // libelle de la permission
129-
$this->rights[$r][2] = 'w'; // type de la permission (deprecated)
130-
$this->rights[$r][3] = 0; // La permission est-elle une permission par default
131-
$this->rights[$r][4] = 'product_advance';
132-
$this->rights[$r][5] = 'read_supplier_prices';
133-
$r++;
134-
135135
// Menus
136136
//-------
137137
$this->menu = 1; // This module add menu entries. They are coded into menu manager.

0 commit comments

Comments
 (0)