prevent NotImplemented exception during template rendering (#3567)

* prevent NotImplemented exception during template rendering

* specify an action for ACL to check
This commit is contained in:
Anton Slyzhko
2026-01-23 15:39:03 +02:00
committed by GitHub
parent 9a3ef004d3
commit f12162ad72

View File

@@ -937,7 +937,7 @@ class Htmlizer
continue;
}
if ($this->acl && !$this->acl->checkEntityRead($relatedEntity)) {
if ($this->acl && !$this->acl->tryCheck($relatedEntity, Acl\Table::ACTION_READ)) {
continue;
}