Fix: [ bug #1364 ] Duplicate Id on permission
This commit is contained in:
parent
01001592e6
commit
99dc3598de
@ -42,7 +42,7 @@ class modDocument extends DolibarrModules
|
|||||||
function __construct($db)
|
function __construct($db)
|
||||||
{
|
{
|
||||||
$this->db = $db;
|
$this->db = $db;
|
||||||
$this->numero = 51;
|
$this->numero = 1510;
|
||||||
|
|
||||||
$this->family = "technic";
|
$this->family = "technic";
|
||||||
// Module label (no space allowed), used if translation string 'ModuleXXXName' not found (where XXX is value of numeric property 'numero' of module)
|
// Module label (no space allowed), used if translation string 'ModuleXXXName' not found (where XXX is value of numeric property 'numero' of module)
|
||||||
@ -80,14 +80,14 @@ class modDocument extends DolibarrModules
|
|||||||
|
|
||||||
$r=0;
|
$r=0;
|
||||||
|
|
||||||
$this->rights[$r][0] = 511;
|
$this->rights[$r][0] = 1511;
|
||||||
$this->rights[$r][1] = 'Lire les documents';
|
$this->rights[$r][1] = 'Lire les documents';
|
||||||
$this->rights[$r][2] = 'r';
|
$this->rights[$r][2] = 'r';
|
||||||
$this->rights[$r][3] = 1;
|
$this->rights[$r][3] = 1;
|
||||||
$this->rights[$r][4] = 'lire';
|
$this->rights[$r][4] = 'lire';
|
||||||
|
|
||||||
$r++;
|
$r++;
|
||||||
$this->rights[$r][0] = 512;
|
$this->rights[$r][0] = 1512;
|
||||||
$this->rights[$r][1] = 'Supprimer les documents clients';
|
$this->rights[$r][1] = 'Supprimer les documents clients';
|
||||||
$this->rights[$r][2] = 'd';
|
$this->rights[$r][2] = 'd';
|
||||||
$this->rights[$r][3] = 0;
|
$this->rights[$r][3] = 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user