This commit is contained in:
Yuri Kuznetsov
2023-10-26 16:57:22 +03:00
parent 0fcd3cd780
commit d3a1db25c2
+2 -1
View File
@@ -1387,7 +1387,7 @@ class Service implements Crud,
}
if (!$id || !$link) {
throw new BadRequest;
throw new BadRequest();
}
$this->processForbiddenLinkEditCheck($link);
@@ -1398,6 +1398,7 @@ class Service implements Crud,
throw new NotFound();
}
// Not used link-check deliberately. Only edit access.
if (!$this->acl->check($entity, AclTable::ACTION_EDIT)) {
throw new Forbidden();
}