File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
run/src/main/kotlin/com/cosmotech/run/service Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import com.cosmotech.api.rbac.PERMISSION_WRITE
1616import com.cosmotech.api.rbac.getRunnerRolesDefinition
1717import com.cosmotech.api.utils.constructPageRequest
1818import com.cosmotech.api.utils.convertToMap
19+ import com.cosmotech.api.utils.getCurrentAuthenticatedUserName
1920import com.cosmotech.run.CSM_JOB_ID_LABEL_KEY
2021import com.cosmotech.run.RunApiServiceInterface
2122import com.cosmotech.run.RunContainerFactory
@@ -556,7 +557,7 @@ class RunServiceImpl(
556557 val run =
557558 runRequest.copy(
558559 id = runId,
559- ownerId = runner.ownerId ,
560+ ownerId = getCurrentAuthenticatedUserName(csmPlatformProperties) ,
560561 organizationId = runner.organizationId,
561562 workspaceId = runner.workspaceId,
562563 runnerId = runner.id,
You can’t perform that action at this time.
0 commit comments