Fix: Permissions incomplètes
This commit is contained in:
parent
c3ba2f704d
commit
3936873229
@ -33,6 +33,7 @@ require_once(DOL_DOCUMENT_ROOT.'/compta/bank/account.class.php');
|
|||||||
$langs->load("bills");
|
$langs->load("bills");
|
||||||
|
|
||||||
$user->getrights("facture");
|
$user->getrights("facture");
|
||||||
|
$user->getrights("adherent");
|
||||||
|
|
||||||
// Sécurité accés client
|
// Sécurité accés client
|
||||||
if (! $user->rights->facture->lire && ! $user->rights->adherent->cotisation->lire)
|
if (! $user->rights->facture->lire && ! $user->rights->adherent->cotisation->lire)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user