mirror of
https://github.com/n8n-io/n8n.git
synced 2026-09-21 04:37:50 +08:00
feat(editor): Add reveal redacted data permission to custom roles execution section (#29526)
This commit is contained in:
@@ -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",
|
||||
|
||||
+1
-1
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user