From 76966f7023d9e03aa46b311fa333e6a47448181c Mon Sep 17 00:00:00 2001 From: sabulous Date: Wed, 22 Jul 2026 11:12:29 +0200 Subject: [PATCH 1/5] feat(studios): add --allow-user to studios add/add-as-new/start and show allowed users in view --- .../cli/commands/studios/AddAsNewCmd.java | 4 ++ .../tower/cli/commands/studios/AddCmd.java | 4 ++ .../tower/cli/commands/studios/StartCmd.java | 4 ++ .../cli/responses/studios/StudiosView.java | 2 + .../tower/cli/studios/StudiosCmdTest.java | 61 +++++++++++++++++++ 5 files changed, 75 insertions(+) diff --git a/src/main/java/io/seqera/tower/cli/commands/studios/AddAsNewCmd.java b/src/main/java/io/seqera/tower/cli/commands/studios/AddAsNewCmd.java index a8bd06fc6..f1e401eb2 100644 --- a/src/main/java/io/seqera/tower/cli/commands/studios/AddAsNewCmd.java +++ b/src/main/java/io/seqera/tower/cli/commands/studios/AddAsNewCmd.java @@ -66,6 +66,9 @@ public class AddAsNewCmd extends AbstractStudiosCmd{ @CommandLine.Option(names = {"--private"}, description = "Create a private studio that only you can access or manage (default: false)", defaultValue = "false") public Boolean isPrivate; + @CommandLine.Option(names = {"--allow-user"}, description = "ID of a user, besides the creator, allowed to connect to and start this studio when it is private.") + public List allowedUserIds; + @CommandLine.Option(names = {"--labels"}, description = "Comma-separated list of labels", split = ",", converter = Label.StudioResourceLabelsConverter.class) public List