Allow external site menu displayed to external users

This commit is contained in:
vmaury 2024-01-25 11:00:26 +01:00
parent bf7390b569
commit db2f7ba823

View file

@ -94,6 +94,10 @@ class modExternalSite extends DolibarrModules
$this->rights_class = 'externalsite'; // Permission key
$this->rights = array(); // Permission array used by this module
$this->module_parts = array( // allow access to external users
'moduleforexternal' => 1
);
// Menus
//------
$r = 0;
@ -110,7 +114,7 @@ class modExternalSite extends DolibarrModules
'perms'=>'',
'enabled'=>'$conf->externalsite->enabled',
'target'=>'',
'user'=>0
'user'=>2
);
$r++;
}