diff --git a/Classes/Controller/BackendServiceController.php b/Classes/Controller/BackendServiceController.php index 8c4e26cc6a..e4669b003a 100644 --- a/Classes/Controller/BackendServiceController.php +++ b/Classes/Controller/BackendServiceController.php @@ -609,43 +609,6 @@ public function getAdditionalNodeMetadataAction(array $nodes): void $this->view->assign('value', $result); } - /** - * @throws \Neos\Flow\Mvc\Exception\NoSuchArgumentException - */ - public function initializeGetPolicyInformationAction(): void - { - $this->arguments->getArgument('nodes')->getPropertyMappingConfiguration()->allowAllProperties(); - } - - /** - * @phpstan-param list $nodes - */ - public function getPolicyInformationAction(array $nodes): void - { - $result = []; - foreach ($nodes as $nodeAddress) { - $contentRepository = $this->contentRepositoryRegistry->get($nodeAddress->contentRepositoryId); - $subgraph = $contentRepository->getContentSubgraph( - $nodeAddress->workspaceName, - $nodeAddress->dimensionSpacePoint, - ); - $node = $subgraph->findNodeById($nodeAddress->aggregateId); - if (!is_null($node)) { - $result[$nodeAddress->toJson()] = [ - // todo reimplement nodePolicyService - 'policy' => [ - 'disallowedNodeTypes' => [], - 'canRemove' => true, - 'canEdit' => true, - 'disallowedProperties' => [] - ] - ]; - } - } - - $this->view->assign('value', $result); - } - /** * Build and execute a flow query chain *