- First commit to issue fork.
- 🇳🇱Netherlands watergate
Stumbled upon the same problem when attaching a paragraph → field to (fixed) block content.
I agree with @vidorado #3272253-5: Fixed blocks are not visible to guest users → that this "solution" might be too permissive/friendly. The infinite loop is indeed a problem; the solution might be to implement the same strategy as used by the
BlockContentAccessControlHandler::checkAccess()
:AccessResult::allowedIf($entity->isPublished()) ->orIf(AccessResult::allowedIfHasPermissions($account, [ 'access block library', ])) ->orIf(AccessResult::allowedIfHasPermissions($account, [ 'administer block content', ]))
Where the
$entity->isPublished()
should be the referenced/included block content object.The provided patch didn't apply cleanly anymore (to the latest dev-version), so I've opened a merge-request (already).
- last update
over 1 year ago Fetch Error - @watergate opened merge request.
- Status changed to Needs review
over 1 year ago 10:55am 6 October 2023 - last update
over 1 year ago Patch Failed to Apply