When trying to create an exhibit, I get the error below and an exhibit is not created.
tested with Omeka S v.3.1.0 and v.3.0.2
Neatline Omeka S v.1.0.0 (though listed as 0.4.0 in Omeka dashboard)
2021-09-24T18:45:56+00:00 ERR (3): Omeka\Api\Exception\PermissionDeniedException: Permission denied for the current user to create the Neatline\Entity\NeatlineExhibit resource. in /application/src/Api/Adapter/AbstractEntityAdapter.php:643
Stack trace:
When trying to create an exhibit, I get the error below and an exhibit is not created.
tested with Omeka S v.3.1.0 and v.3.0.2 Neatline Omeka S v.1.0.0 (though listed as 0.4.0 in Omeka dashboard)
2021-09-24T18:45:56+00:00 ERR (3): Omeka\Api\Exception\PermissionDeniedException: Permission denied for the current user to create the Neatline\Entity\NeatlineExhibit resource. in /application/src/Api/Adapter/AbstractEntityAdapter.php:643 Stack trace:
0 /application/src/Api/Adapter/AbstractEntityAdapter.php(588): Omeka\Api\Adapter\AbstractEntityAdapter->authorize(Object(Neatline\Entity\NeatlineExhibit), 'create')
1 /application/src/Api/Adapter/AbstractEntityAdapter.php(318): Omeka\Api\Adapter\AbstractEntityAdapter->hydrateEntity(Object(Omeka\Api\Request), Object(Neatline\Entity\NeatlineExhibit), Object(Omeka\Stdlib\ErrorStore))
2 /application/src/Api/Manager.php(224): Omeka\Api\Adapter\AbstractEntityAdapter->create(Object(Omeka\Api\Request))
3 /application/src/Api/Manager.php(78): Omeka\Api\Manager->execute(Object(Omeka\Api\Request))
4 /application/src/Controller/ApiController.php(102): Omeka\Api\Manager->create('neatline_exhibi...', Array, Array)
5 /application/src/Controller/ApiController.php(178): Omeka\Controller\ApiController->create(Array, Array)
6 /vendor/laminas/laminas-mvc/src/Controller/AbstractRestfulController.php(428): Omeka\Controller\ApiController->processPostData(Object(Laminas\Http\PhpEnvironment\Request))
7 /application/src/Controller/ApiController.php(151): Laminas\Mvc\Controller\AbstractRestfulController->onDispatch(Object(Laminas\Mvc\MvcEvent))
8 /vendor/laminas/laminas-eventmanager/src/EventManager.php(321): Omeka\Controller\ApiController->onDispatch(Object(Laminas\Mvc\MvcEvent))
9 /vendor/laminas/laminas-eventmanager/src/EventManager.php(178): Laminas\EventManager\EventManager->triggerListeners(Object(Laminas\Mvc\MvcEvent), Object(Closure))
10 /vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(103): Laminas\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Laminas\Mvc\MvcEvent))
11 /vendor/laminas/laminas-mvc/src/Controller/AbstractRestfulController.php(312): Laminas\Mvc\Controller\AbstractController->dispatch(Object(Laminas\Http\PhpEnvironment\Request), Object(Laminas\Http\PhpEnvironment\Response))
12 /vendor/laminas/laminas-mvc/src/DispatchListener.php(139): Laminas\Mvc\Controller\AbstractRestfulController->dispatch(Object(Laminas\Http\PhpEnvironment\Request), Object(Laminas\Http\PhpEnvironment\Response))
13 /vendor/laminas/laminas-eventmanager/src/EventManager.php(321): Laminas\Mvc\DispatchListener->onDispatch(Object(Laminas\Mvc\MvcEvent))
14 /vendor/laminas/laminas-eventmanager/src/EventManager.php(178): Laminas\EventManager\EventManager->triggerListeners(Object(Laminas\Mvc\MvcEvent), Object(Closure))
15 /vendor/laminas/laminas-mvc/src/Application.php(331): Laminas\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Laminas\Mvc\MvcEvent))
16 /index.php(21): Laminas\Mvc\Application->run()
17 {main}