Adds cross site api #4

Merged
chris merged 10 commits from develop into main 2021-12-15 10:51:55 +01:00
2 changed files with 13 additions and 1 deletions
Showing only changes of commit faa9eda485 - Show all commits

View File

@ -138,4 +138,16 @@ class Module extends AbstractModule
return true; return true;
} }
/**
* Code to run when first using the module.
*
* @param MvcEvent $event
*/
public function onBootstrap(MvcEvent $event): void
{
parent::onBootstrap($event);
$acl = $this->getServiceLocator()->get('Omeka\Acl');
$acl->allow(null, 'Controller\ArchiveSiteMetaController');
}
} }

View File

@ -22,7 +22,7 @@ return [
], ],
'controllers' => [ 'controllers' => [
'invokables' => [ 'invokables' => [
Controller\ArchiveSiteMetaController::class => Controller\ArchiveSiteMetaController::class, 'Controller\ArchiveSiteMetaController' => Controller\ArchiveSiteMetaController::class
], ],
], ],
'view_manager' => [ 'view_manager' => [