FIX #13503
This commit is contained in:
parent
a72b262f5b
commit
236898f4e7
@ -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 New Issue
Block a user