Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts: htdocs/expedition/class/api_shipments.class.php
This commit is contained in:
commit
fcf467989d
@ -451,7 +451,7 @@ class Shipments extends DolibarrApi
|
|||||||
*/
|
*/
|
||||||
public function delete($id)
|
public function delete($id)
|
||||||
{
|
{
|
||||||
if (!DolibarrApiAccess::$user->rights->shipment->supprimer) {
|
if (!DolibarrApiAccess::$user->rights->expedition->supprimer) {
|
||||||
throw new RestException(401);
|
throw new RestException(401);
|
||||||
}
|
}
|
||||||
$result = $this->shipment->fetch($id);
|
$result = $this->shipment->fetch($id);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user