From f932eb177efe7226bc7722e1ecea9e5a35f015d7 Mon Sep 17 00:00:00 2001 From: mhsdesign <85400359+mhsdesign@users.noreply.github.com> Date: Tue, 7 Jan 2025 21:34:30 +0100 Subject: [PATCH] TASK: Remove policy for removed fluid widgets The cr paginate widget was removed see https://github.com/neos/neos-development-collection/issues/5425 But as identified here there is still a method privilege to be adjusted: https://github.com/neos/neos-development-collection/issues/4478#issuecomment-2575353900 Further long ago this change seems to contain a hiccup introducing a policy for a `LinkRepositoryController` which was NEVER part of the codebase though: https://github.com/neos/neos-development-collection/commit/f5053cc94029d2e2f21764d2b69c8666e532e2ec#diff-818aacc12f1dbf0bc391a8711ae5a3d56cceb29494b5997dd2a43d793b6dd44eR8 Thus this line was adjusted further. --- Neos.Neos/Configuration/Policy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Neos.Neos/Configuration/Policy.yaml b/Neos.Neos/Configuration/Policy.yaml index c5f3beb3ca..afe0f8922f 100644 --- a/Neos.Neos/Configuration/Policy.yaml +++ b/Neos.Neos/Configuration/Policy.yaml @@ -17,7 +17,7 @@ privilegeTargets: 'Neos.Neos:WidgetControllers': label: General access to Fluid widget controllers - matcher: 'method(Neos\FluidAdaptor\ViewHelpers\Widget\Controller\AutocompleteController->(index|autocomplete)Action()) || method(Neos\FluidAdaptor\ViewHelpers\Widget\Controller\PaginateController->indexAction()) || method(Neos\ContentRepository\ViewHelpers\Widget\Controller\PaginateController->indexAction()) || method(Neos\Neos\ViewHelpers\Widget\Controller\LinkRepositoryController->(index|search|lookup)Action())' + matcher: 'method(Neos\FluidAdaptor\ViewHelpers\Widget\Controller\AutocompleteController->(index|autocomplete)Action()) || method(Neos\FluidAdaptor\ViewHelpers\Widget\Controller\PaginateController->indexAction())' 'Neos.Neos:PublicFrontendAccess': label: General access to frontend rendering