mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Fix: Wrong value for permissions id
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user