Fix permissions
This commit is contained in:
parent
44b02f1d6c
commit
0414f09e48
@ -145,7 +145,7 @@ class modOpenSurvey extends DolibarrModules
|
|||||||
'langs'=>'opensurvey',
|
'langs'=>'opensurvey',
|
||||||
'position'=>200,
|
'position'=>200,
|
||||||
'enabled'=>'$conf->opensurvey->enabled', // Define condition to show or hide menu entry. Use '$conf->NewsSubmitter->enabled' if entry must be visible if module is enabled.
|
'enabled'=>'$conf->opensurvey->enabled', // Define condition to show or hide menu entry. Use '$conf->NewsSubmitter->enabled' if entry must be visible if module is enabled.
|
||||||
'perms'=>'',
|
'perms'=>'$user->rights->opensurvey->read',
|
||||||
'target'=>'',
|
'target'=>'',
|
||||||
'user'=>0);
|
'user'=>0);
|
||||||
$r++;
|
$r++;
|
||||||
@ -173,7 +173,7 @@ class modOpenSurvey extends DolibarrModules
|
|||||||
'langs'=>'opensurvey',
|
'langs'=>'opensurvey',
|
||||||
'position'=>220,
|
'position'=>220,
|
||||||
'enabled'=>'$conf->opensurvey->enabled', // Define condition to show or hide menu entry. Use '$conf->NewsSubmitter->enabled' if entry must be visible if module is enabled.
|
'enabled'=>'$conf->opensurvey->enabled', // Define condition to show or hide menu entry. Use '$conf->NewsSubmitter->enabled' if entry must be visible if module is enabled.
|
||||||
'perms'=>'',
|
'perms'=>'$user->rights->opensurvey->read',
|
||||||
'target'=>'',
|
'target'=>'',
|
||||||
'user'=>0);
|
'user'=>0);
|
||||||
$r++;
|
$r++;
|
||||||
|
|||||||
@ -190,7 +190,7 @@ class modResource extends DolibarrModules
|
|||||||
$r++;
|
$r++;
|
||||||
|
|
||||||
$this->rights[$r][0] = 63004;
|
$this->rights[$r][0] = 63004;
|
||||||
$this->rights[$r][1] = 'Link resources';
|
$this->rights[$r][1] = 'Link resources to agenda events';
|
||||||
$this->rights[$r][3] = 0;
|
$this->rights[$r][3] = 0;
|
||||||
$this->rights[$r][4] = 'link';
|
$this->rights[$r][4] = 'link';
|
||||||
$r++;
|
$r++;
|
||||||
|
|||||||
@ -781,6 +781,10 @@ Permission55002=Create/modify polls
|
|||||||
Permission59001=Read commercial margins
|
Permission59001=Read commercial margins
|
||||||
Permission59002=Define commercial margins
|
Permission59002=Define commercial margins
|
||||||
Permission59003=Read every user margin
|
Permission59003=Read every user margin
|
||||||
|
Permission63001=Read resources
|
||||||
|
Permission63002=Create/modify resources
|
||||||
|
Permission63003=Delete resources
|
||||||
|
Permission63004=Link resources to agenda events
|
||||||
DictionaryCompanyType=Types of thirdparties
|
DictionaryCompanyType=Types of thirdparties
|
||||||
DictionaryCompanyJuridicalType=Legal forms of thirdparties
|
DictionaryCompanyJuridicalType=Legal forms of thirdparties
|
||||||
DictionaryProspectLevel=Prospect potential level
|
DictionaryProspectLevel=Prospect potential level
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user