Merge pull request #27031 from Hystepik/fix-comm-index-contrat
Fix comm index page on contract
This commit is contained in:
commit
b4adaacddf
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ $now = dol_now();
|
|||
|
||||
//restrictedArea($user, 'societe', $socid, '&societe', '', 'fk_soc', 'rowid', 0);
|
||||
if (!$user->hasRight('propal', 'read') && !$user->hasRight('supplier_proposal', 'read') && !$user->hasRight('commande', 'read') && !$user->hasRight('fournisseur', 'commande', 'read')
|
||||
&& !$user->hasRight('supplier_order', 'read') && !$user->hasRight('fichinter', 'read')) {
|
||||
&& !$user->hasRight('supplier_order', 'read') && !$user->hasRight('fichinter', 'read') && !$user->hasRight('contrat', 'read')) {
|
||||
accessforbidden();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue