Merge pull request #20172 from Dolibarr/atm-maxime-patch-1
Fix #20171 permissiontoadd
This commit is contained in:
commit
a2dea71b4d
@ -74,7 +74,7 @@ $socid = 0;
|
|||||||
|
|
||||||
restrictedArea($user, 'projet', $object->fk_project, 'projet&project');
|
restrictedArea($user, 'projet', $object->fk_project, 'projet&project');
|
||||||
|
|
||||||
$permissiontoadd = $$user->rights->mrp->write; // Used by the include of actions_addupdatedelete.inc.php and actions_linkedfiles.inc.php
|
$permissiontoadd = $user->rights->projet->creer; // Used by the include of actions_addupdatedelete.inc.php and actions_linkedfiles.inc.php
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user