mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Mise jour des permissions pour les prelevement
This commit is contained in:
parent
9679c435c5
commit
f511869c85
|
|
@ -140,10 +140,8 @@ if ($modulepart)
|
|||
if ($modulepart == 'prelevement')
|
||||
{
|
||||
$user->getrights('prelevement');
|
||||
if ($user->rights->prelevement->lire)
|
||||
{
|
||||
$accessallowed=1;
|
||||
}
|
||||
if ($user->rights->prelevement->bons->lire) $accessallowed=1;
|
||||
|
||||
$original_file=DOL_DATA_ROOT.'/prelevement/bon/'.$original_file;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user