- Issue created by @kecsot
- 🇭🇺Hungary kecsot Hungary
looks like permission issue. it works with administrator role but not with anonymous
- 🇭🇺Hungary kecsot Hungary
ParagraphAccessControlHandler::checkAccess
if ($paragraph->getParentEntity() != NULL) { // Delete permission on the paragraph, should just depend on 'update' // access permissions on the parent. $operation = ($operation == 'delete') ? 'update' : $operation; // Library items have no support for parent entity access checking. if ($paragraph->getParentEntity()->getEntityTypeId() != 'paragraphs_library_item') { $parent_access = $paragraph->getParentEntity()->access($operation, $account, TRUE); $access_result = $access_result->andIf($parent_access); } }
The parentEntity->access was only "neutral". The anonymous user not had access to rendered entity.
Works as designed. Sorry :)
- Status changed to Closed: works as designed
4 months ago 5:17am 24 July 2024