Add right to export project in export tool
As the right does not exist, the tool could never be exploited
This commit is contained in:
parent
9aacb0e7ed
commit
9a5b46330a
@ -144,6 +144,13 @@ class modProjet extends DolibarrModules
|
||||
$this->rights[$r][3] = 0; // La permission est-elle une permission par defaut
|
||||
$this->rights[$r][4] = 'supprimer';
|
||||
|
||||
$r++;
|
||||
$this->rights[$r][0] = 45; // id de la permission
|
||||
$this->rights[$r][1] = "Exporter les projets"; // libelle de la permission
|
||||
$this->rights[$r][2] = 'd'; // type de la permission (deprecie a ce jour)
|
||||
$this->rights[$r][3] = 0; // La permission est-elle une permission par defaut
|
||||
$this->rights[$r][4] = 'export';
|
||||
|
||||
$r++;
|
||||
$this->rights[$r][0] = 141; // id de la permission
|
||||
$this->rights[$r][1] = "Lire tous les projets et tâches (y compris prives qui ne me sont pas affectes)"; // libelle de la permission
|
||||
|
||||
Loading…
Reference in New Issue
Block a user