feat(editor): Add reveal redacted data permission to custom roles execution section (#29526)

This commit is contained in:
Stephen Wright
2026-05-04 09:10:12 +00:00
committed by GitHub
parent cf8887f9ea
commit be22095646
3 changed files with 6 additions and 1 deletions
@@ -2487,6 +2487,8 @@
"projectRoles.credential:move.tooltip": "Move credentials to another project",
"projectRoles.credential:delete": "Delete",
"projectRoles.credential:delete.tooltip": "Delete credentials",
"projectRoles.execution:reveal": "Reveal redacted data",
"projectRoles.execution:reveal.tooltip": "Reveal redacted execution data on workflows that have data redaction enabled",
"projectRoles.dataTable:read": "View",
"projectRoles.dataTable:read.tooltip": "View the structure of data table (columns, name) and to view metadata",
"projectRoles.dataTable:update": "Edit",
@@ -2534,6 +2536,7 @@
"projectRoles.type.folder": "Folders",
"projectRoles.type.workflow": "Workflows",
"projectRoles.type.credential": "Credentials",
"projectRoles.type.execution": "Executions",
"projectRoles.type.sourceControl": "Source control",
"projectRoles.type.dataTable": "Data tables",
"projectRoles.type.projectVariable": "Project variables",
@@ -92,7 +92,7 @@ describe('RoleHoverPopover', () => {
it('should display permission count', () => {
const { getByText } = renderComponent();
expect(getByText('3/41 permissions')).toBeInTheDocument();
expect(getByText('3/42 permissions')).toBeInTheDocument();
});
it('should display role description when available', () => {
@@ -28,6 +28,7 @@ const UI_OPERATIONS = {
'updateRedactionSetting',
],
credential: ['read', 'update', 'create', 'share', 'unshare', 'move', 'delete'],
execution: ['reveal'],
externalSecretsProvider: ['read', 'create', 'update', 'delete', 'sync'],
externalSecret: ['list'],
sourceControl: ['push'],
@@ -49,6 +50,7 @@ export const SCOPE_TYPES: ProjectResource[] = [
'folder',
'workflow',
'credential',
'execution',
'externalSecretsProvider',
'externalSecret',
'dataTable',