2
0
forked from Wavyzz/dolibarr

Fix: Wrong value for permissions id

This commit is contained in:
Laurent Destailleur
2011-01-22 10:38:05 +00:00
parent e2fcf23985
commit 8dc2a9b2c9
5 changed files with 16 additions and 16 deletions

View File

@@ -45,7 +45,7 @@ class modDomain extends DolibarrModules
function modDomain($DB)
{
$this->db = $DB;
$this->numero = 1300 ;
$this->numero = 50400;
$this->family = "other";
// Module label (no space allowed), used if translation string 'ModuleXXXName' not found (where XXX is value of numeric property 'numero' of module)
@@ -86,21 +86,21 @@ class modDomain extends DolibarrModules
$r=0;
$r++;
$this->rights[$r][0] = 1301;
$this->rights[$r][0] = 50401;
$this->rights[$r][1] = 'Read domain names';
$this->rights[$r][2] = 'r';
$this->rights[$r][3] = 1;
$this->rights[$r][4] = 'read';
$r++;
$this->rights[$r][0] = 1302;
$this->rights[$r][0] = 50402;
$this->rights[$r][1] = 'Create/modify domain names';
$this->rights[$r][2] = 'w';
$this->rights[$r][3] = 0;
$this->rights[$r][4] = 'create';
$r++;
$this->rights[$r][0] = 1303;
$this->rights[$r][0] = 50403;
$this->rights[$r][1] = 'Delete domain names';
$this->rights[$r][2] = 'd';
$this->rights[$r][3] = 0;