Fix: Correction initialisation droits module caisse

This commit is contained in:
Laurent Destailleur 2004-08-03 22:28:54 +00:00
parent bd98eadc78
commit af955527dd

View File

@ -359,6 +359,18 @@ class User
$this->rights->banque->configurer = 1;
}
if ($module == 'caisse' or $module == '')
{
if ($obj->fk_id == 131)
$this->rights->caisse->lire = 1;
if ($obj->fk_id == 132)
$this->rights->caisse->modifier = 1;
if ($obj->fk_id == 133)
$this->rights->caisse->configurer = 1;
}
if ($module == 'societe' or $module == '')
{
if ($obj->fk_id == 121)