FIX #13503
This commit is contained in:
parent
a72b262f5b
commit
236898f4e7
1 changed files with 1 additions and 1 deletions
|
|
@ -450,7 +450,7 @@ class Shipments extends DolibarrApi
|
|||
*/
|
||||
public function delete($id)
|
||||
{
|
||||
if(! DolibarrApiAccess::$user->rights->shipment->supprimer) {
|
||||
if(! DolibarrApiAccess::$user->rights->expedition->supprimer) {
|
||||
throw new RestException(401);
|
||||
}
|
||||
$result = $this->shipment->fetch($id);
|
||||
|
|
|
|||
Loading…
Reference in a new issue