feat(core): Add retry execution endpoint to public api (#19132)

Co-authored-by: Csaba Tuncsik <csaba.tuncsik@gmail.com>
Co-authored-by: Marc Littlemore <MarcL@users.noreply.github.com>
This commit is contained in:
Konstantin Tieber
2025-09-11 10:12:53 +02:00
committed by GitHub
parent b147709189
commit c4f41bb534
16 changed files with 229 additions and 20 deletions

View File

@@ -125,6 +125,7 @@ exports[`Scope Information ensure scopes are defined correctly 1`] = `
"dataStore:*",
"execution:delete",
"execution:read",
"execution:retry",
"execution:list",
"execution:get",
"execution:*",

View File

@@ -27,7 +27,7 @@ export const RESOURCES = {
insights: ['list'] as const,
oidc: ['manage'] as const,
dataStore: [...DEFAULT_OPERATIONS, 'readRow', 'writeRow', 'listProject'] as const,
execution: ['delete', 'read', 'list', 'get'] as const,
execution: ['delete', 'read', 'retry', 'list', 'get'] as const,
workflowTags: ['update', 'list'] as const,
role: ['manage'] as const,
} as const;
@@ -39,7 +39,7 @@ export const API_KEY_RESOURCES = {
securityAudit: ['generate'] as const,
project: ['create', 'update', 'delete', 'list'] as const,
user: ['read', 'list', 'create', 'changeRole', 'delete', 'enforceMfa'] as const,
execution: ['delete', 'read', 'list', 'get'] as const,
execution: ['delete', 'read', 'retry', 'list', 'get'] as const,
credential: ['create', 'move', 'delete'] as const,
sourceControl: ['pull'] as const,
workflowTags: ['update', 'list'] as const,

View File

@@ -34,6 +34,7 @@ export const OWNER_API_KEY_SCOPES: ApiKeyScope[] = [
'workflow:deactivate',
'execution:delete',
'execution:read',
'execution:retry',
'execution:list',
'credential:create',
'credential:move',
@@ -59,6 +60,7 @@ export const MEMBER_API_KEY_SCOPES: ApiKeyScope[] = [
'workflow:deactivate',
'execution:delete',
'execution:read',
'execution:retry',
'execution:list',
'credential:create',
'credential:move',
@@ -84,6 +86,7 @@ export const API_KEY_SCOPES_FOR_IMPLICIT_PERSONAL_PROJECT: ApiKeyScope[] = [
'workflow:deactivate',
'execution:delete',
'execution:read',
'execution:retry',
'execution:list',
'credential:create',
'credential:move',