|
@@ -112,15 +112,15 @@ class modVariants extends DolibarrModules
|
|
|
$r = 0;
|
|
|
|
|
|
$this->rights[$r][0] = $this->numero + $r; // Permission id (must not be already used)
|
|
|
- $this->rights[$r][1] = 'Read objects of ProductAttribute'; // Permission label
|
|
|
+ $this->rights[$r][1] = 'Read attributes of variants'; // Permission label
|
|
|
$this->rights[$r][4] = 'read'; // In php code, permission will be checked by test if ($user->rights->eventorganization->level1)
|
|
|
$r++;
|
|
|
$this->rights[$r][0] = $this->numero + $r; // Permission id (must not be already used)
|
|
|
- $this->rights[$r][1] = 'Create/Update objects of ProductAttribute'; // Permission label
|
|
|
+ $this->rights[$r][1] = 'Create/Update attributes of variants'; // Permission label
|
|
|
$this->rights[$r][4] = 'write'; // In php code, permission will be checked by test if ($user->rights->eventorganization->level1)
|
|
|
$r++;
|
|
|
$this->rights[$r][0] = $this->numero + $r; // Permission id (must not be already used)
|
|
|
- $this->rights[$r][1] = 'Delete objects of ProductAttribute'; // Permission label
|
|
|
+ $this->rights[$r][1] = 'Delete attributes of variants'; // Permission label
|
|
|
$this->rights[$r][4] = 'delete'; // In php code, permission will be checked by test if ($user->rights->eventorganization->level1)
|
|
|
$r++;
|
|
|
}
|