Hello, we have the Comments module installed in our Omeka S site and and have configured it to allow for Public comments (i.e. users who do not have an Omeka login can add comments to an item.
Unfortunately, when a users who is not logged into the Omeka tries to display an item they receive an Error. This is the code from the error log:
2026-06-25T14:59:04+00:00 ERR (3): Omeka\Api\Exception\PermissionDeniedException: Permission denied for the current user to search the Comment\Api\Adapter\CommentAdapter resource. in /var/www/omeka/application/src/Api/Manager.php:208
Stack trace:
#0 /var/www/omeka/application/src/Api/Manager.php(59): Omeka\Api\Manager->execute()
#1 /host/modules/Comment/Module.php(833): Omeka\Api\Manager->search()
#2 /host/modules/Comment/Module.php(797): Comment\Module->viewShowForResourcePublic()
#3 /var/www/omeka/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Comment\Module->viewShowBeforeResourcePublic()
#4 /var/www/omeka/vendor/laminas/laminas-eventmanager/src/EventManager.php(171): Laminas\EventManager\EventManager->triggerListeners()
#5 /var/www/omeka/application/src/View/Helper/Trigger.php(60): Laminas\EventManager\EventManager->triggerEvent()
#6 /var/www/omeka/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php(407): Omeka\View\Helper\Trigger->__invoke()
When a user with a login tries to display an item it works just fine and they are also able to leave comments. We have the latest build of the Comments module installed.
Any ideas on what could be going wrong?