From 57635fa9cef79d37087fbac9d51fcc9cc2c2368f Mon Sep 17 00:00:00 2001 From: Ansuman Sahoo Date: Thu, 3 Oct 2024 12:44:00 +0000 Subject: [PATCH] Add prebuild scope Signed-off-by: Ansuman Sahoo --- cmd/daytona/config/const.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/daytona/config/const.go b/cmd/daytona/config/const.go index 95d0f2d82a..fe2c697c07 100644 --- a/cmd/daytona/config/const.go +++ b/cmd/daytona/config/const.go @@ -126,6 +126,8 @@ func GetPrebuildScopesFromGitProviderId(providerId string) string { return "admin:repo_hook" case "bitbucket": return "webhooks" + case "bitbucket-server": + return "REPO_ADMIN" case "azure-devops": return "Work (Read, Write & Manage); Build (Read & Execute)" default: