rewrite interface and create first tests

This commit is contained in:
2016-01-31 23:42:57 +01:00
parent df69448324
commit 70806408fd
11 changed files with 704 additions and 91 deletions

View File

@@ -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');