'taoProctoring', 'label' => 'Proctoring', 'description' => 'Proctoring for deliveries', 'license' => 'GPL-2.0', 'author' => 'Open Assessment Technologies SA', 'managementRole' => 'http://www.tao.lu/Ontologies/TAOProctor.rdf#TestCenterManager', 'acl' => array( array('grant', 'http://www.tao.lu/Ontologies/TAO.rdf#GlobalManagerRole', array('ext' => 'taoProctoring', 'mod'=>'Irregularity')), array('grant', ProctorService::ROLE_PROCTOR, DeliverySelection::class), array('grant', ProctorService::ROLE_PROCTOR, Monitor::class), array('grant', ProctorService::ROLE_PROCTOR, tao_actions_Breadcrumbs::class), array('grant', ProctorService::ROLE_PROCTOR, array('ext'=>'taoProctoring', 'mod'=>'Reporting')), array('grant', ProctorService::ROLE_PROCTOR, array('ext'=>'taoProctoring', 'mod'=>'TextConverter')), array('grant', TaoRoles::DELIVERY, array('ext'=>'taoProctoring', 'mod'=>'DeliveryServer')), array('grant', TaoRoles::SYSTEM_ADMINISTRATOR, Tools::class.'@pauseActiveExecutions'), array('grant', TaoRoles::OPERATIONAL_ADMINISTRATOR, array('ext'=>'taoProctoring', 'mod'=>'Tools')), array('grant', ProctorService::ROLE_PROCTOR_ADMINISTRATOR, MonitorProctorAdministrator::class), ), 'install' => array( 'php' => array( RegisterProctoringEntryPoint::class, SetupDeliveryMonitoring::class, RegisterProctoringLog::class, RegisterDeliveryServerService::class, SetupProctoringEventListeners::class, RegisterAuthProvider::class, RegisterServices::class, RegisterBreadcrumbsServices::class, RegisterReasonCategoryService::class, SetUpProctoringUrlService::class, RegisterRunnerMessageService::class, RegisterGuiSettingsService::class, RegisterDeliveryExecutionManagerService::class, OverrideSectionPauseService::class, RegisterProctoringRunnerService::class, SetupProctorCsvImporter::class, RegisterProctorAttemptService::class, RegisterProctoringDeliveryDeleteService::class, SetUpQueueTasks::class, RegisterDeleteDeliveryExecution::class, RegisterWebhookEvents::class ), 'rdf' => array( __DIR__.DIRECTORY_SEPARATOR.'scripts'.DIRECTORY_SEPARATOR.'install'.DIRECTORY_SEPARATOR.'proctoring.rdf' ) ), 'uninstall' => array( 'php' => [ RestoreServices::class, UnregisterProctoringEvents::class ] ), 'routes' => array( 'taoProctoring' => 'oat\\taoProctoring\\controller' ), 'update' => 'oat\\taoProctoring\\scripts\\update\\Updater', 'constants' => array( # views directory 'DIR_VIEWS' => __DIR__ . DIRECTORY_SEPARATOR . 'views' . DIRECTORY_SEPARATOR, #BASE URL (usually the domain root) 'BASE_URL' => ROOT_URL.'taoProctoring/', ), 'extra' => array( 'structures' => __DIR__ . DIRECTORY_SEPARATOR . 'controller' . DIRECTORY_SEPARATOR . 'structures.xml', ) );