From 61b611741233e0c2fe54fb7a9ab07ec2f3802c95 Mon Sep 17 00:00:00 2001
From: Consolethinks <wewa@first-email.net>
Date: Mon, 2 Sep 2024 14:50:09 +0200
Subject: [PATCH] fix copy disabling for beamline users (again)

---
 cmd/commands/datasetIngestor.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/commands/datasetIngestor.go b/cmd/commands/datasetIngestor.go
index 2f94445..95a87fe 100644
--- a/cmd/commands/datasetIngestor.go
+++ b/cmd/commands/datasetIngestor.go
@@ -282,7 +282,7 @@ For Windows you need instead to specify -user username:password on the command l
 		// a destination location is defined by the archive system
 		// for now let the user decide if he needs a copy
 
-		if nocopyFlag || beamlineAccount {
+		if nocopyFlag {
 			copyFlag = false
 		}
 		checkCentralAvailability := !(cmd.Flags().Changed("copy") || cmd.Flags().Changed("nocopy") || beamlineAccount || copyFlag)