'ltiDeliveryProvider', 'label' => 'LTI Delivery Tool Provider', 'description' => 'The LTI Delivery Tool Provider allows third party applications to embed deliveries created in Tao', 'license' => 'GPL-2.0', 'author' => 'Open Assessment Technologies', 'models' => [ 'http://www.tao.lu/Ontologies/TAOLTI.rdf', 'http://www.imsglobal.org/imspurl/lis/v1/vocab/membership' ], 'install' => [ 'php' => [ InstallAssignmentService::class, RegisterLtiResultAliasStorage::class, RegisterServices::class, RegisterLaunchAction::class, InstallDeliveryContainerService::class, RegisterLtiAttemptService::class, RegisterMetrics::class, RegisterOverriddenLtiToolRepository::class, RegisterSessionCookieAttributesFactory::class ], 'rdf' => [ __DIR__ . '/install/ontology/deliverytool.rdf' ] ], 'routes' => [ '/ltiDeliveryProvider' => 'oat\\ltiDeliveryProvider\\controller' ], 'update' => Updater::class, 'managementRole' => 'http://www.tao.lu/Ontologies/TAOLTI.rdf#LtiDeliveryProviderManagerRole', 'acl' => [ ['grant', 'http://www.tao.lu/Ontologies/TAOLTI.rdf#LtiDeliveryProviderManagerRole', ['ext' => 'ltiDeliveryProvider']], ['grant', TaoRoles::ANONYMOUS, ['ext' => 'ltiDeliveryProvider', 'mod' => 'DeliveryTool', 'act' => 'launch']], ['grant', TaoRoles::ANONYMOUS, ['ext' => 'ltiDeliveryProvider', 'mod' => 'DeliveryTool', 'act' => 'launch1p3']], ['grant', 'http://www.tao.lu/Ontologies/TAOLTI.rdf#LtiBaseRole', ['ext' => 'ltiDeliveryProvider', 'mod' => 'DeliveryTool', 'act' => 'run']], ['grant', LtiRoles::CONTEXT_LEARNER, DeliveryRunner::class], ['grant', LtiRoles::CONTEXT_LTI1P3_LEARNER, DeliveryRunner::class], ['grant', LtiRoles::CONTEXT_LEARNER, DeliveryTool::class, 'launchQueue'], ['grant', LtiRoles::CONTEXT_INSTRUCTOR, LinkConfiguration::class] ], 'constants' => [ # views directory 'DIR_VIEWS' => __DIR__ . DIRECTORY_SEPARATOR . 'views' . DIRECTORY_SEPARATOR, # default module name 'DEFAULT_MODULE_NAME' => 'Browser', #default action name 'DEFAULT_ACTION_NAME' => 'index', #BASE PATH: the root path in the file system (usually the document root) 'BASE_PATH' => __DIR__ . DIRECTORY_SEPARATOR , #BASE URL (usually the domain root) 'BASE_URL' => ROOT_URL . 'ltiDeliveryProvider/', ], 'extra' => [ 'structures' => __DIR__ . DIRECTORY_SEPARATOR . 'controller' . DIRECTORY_SEPARATOR . 'structures.xml', ] ];