mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
refactor(core): Move more code into @n8n/permissions. Add aditional tests and docs (no-changelog) (#15062)
Co-authored-by: Danny Martini <danny@n8n.io>
This commit is contained in:
committed by
GitHub
parent
cdcd059248
commit
2bb190349b
@@ -1,6 +1,6 @@
|
||||
import type { ProjectIcon, ProjectRole, ProjectType } from '@n8n/api-types';
|
||||
import type { ProjectIcon, ProjectType } from '@n8n/api-types';
|
||||
import type { Variables, Project, User, ListQueryDb, WorkflowHistory } from '@n8n/db';
|
||||
import type { AssignableRole, GlobalRole, Scope } from '@n8n/permissions';
|
||||
import type { AssignableGlobalRole, GlobalRole, ProjectRole, Scope } from '@n8n/permissions';
|
||||
import type express from 'express';
|
||||
import type {
|
||||
ICredentialDataDecryptedObject,
|
||||
@@ -137,7 +137,7 @@ export declare namespace UserRequest {
|
||||
email: string;
|
||||
inviteAcceptUrl?: string;
|
||||
emailSent: boolean;
|
||||
role: AssignableRole;
|
||||
role: AssignableGlobalRole;
|
||||
};
|
||||
error?: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user