mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-27 01:53:49 +00:00
rewrite interface and create first tests
This commit is contained in:
@@ -117,7 +117,7 @@ class ExportController extends Controller
|
||||
$data = $form->getData();
|
||||
|
||||
// check ACL
|
||||
if ($exportManager->isGrantedForElement($export,
|
||||
if ($exportManager->isGrantedForElement($export, NULL,
|
||||
$exportManager->getPickedCenters($data['centers'])) === FALSE) {
|
||||
throw $this->createAccessDeniedException('you do not have '
|
||||
. 'access to this export for those centers');
|
||||
|
Reference in New Issue
Block a user