From e64ff937a2aac0a8c83a9500ed37d8fda0cc44d0 Mon Sep 17 00:00:00 2001 From: mhsdesign <85400359+mhsdesign@users.noreply.github.com> Date: Tue, 1 Oct 2024 14:23:25 +0200 Subject: [PATCH] TASK: Remove obsolete todos (There is no acl to bypass yet *g) --- Neos.Neos/Classes/Command/WorkspaceCommandController.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/Neos.Neos/Classes/Command/WorkspaceCommandController.php b/Neos.Neos/Classes/Command/WorkspaceCommandController.php index 32c5c44ef61..cc9742a49c5 100644 --- a/Neos.Neos/Classes/Command/WorkspaceCommandController.php +++ b/Neos.Neos/Classes/Command/WorkspaceCommandController.php @@ -95,7 +95,6 @@ public function publishCommand(string $workspace, string $contentRepository = 'd public function discardCommand(string $workspace, string $contentRepository = 'default'): void { try { - // @todo: bypass access control $this->workspacePublishingService->discardAllWorkspaceChanges( ContentRepositoryId::fromString($contentRepository), WorkspaceName::fromString($workspace) @@ -120,7 +119,6 @@ public function discardCommand(string $workspace, string $contentRepository = 'd public function rebaseCommand(string $workspace, string $contentRepository = 'default', bool $force = false): void { try { - // @todo: bypass access control $this->workspacePublishingService->rebaseWorkspace( ContentRepositoryId::fromString($contentRepository), WorkspaceName::fromString($workspace), @@ -307,7 +305,6 @@ public function deleteCommand(string $workspace, bool $force = false, string $co ); $this->quit(5); } - // @todo bypass access control? $this->workspacePublishingService->discardAllWorkspaceChanges($contentRepositoryId, $workspaceName); }