Skip to content

Commit

Permalink
Add right to export project in export tool
Browse files Browse the repository at this point in the history
As the right does not exist, the tool could never be exploited
  • Loading branch information
Alexis Algoud committed Jan 15, 2014
1 parent 9aacb0e commit 9a5b463
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions htdocs/core/modules/modProjet.class.php
Expand Up @@ -144,6 +144,13 @@ function __construct($db)
$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
Expand Down

0 comments on commit 9a5b463

Please sign in to comment.