mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 19:32:15 +00:00
feat(core): Add scopes to API Keys (#14176)
Co-authored-by: Charlie Kolb <charlie@n8n.io> Co-authored-by: Danny Martini <danny@n8n.io>
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
import type { ProjectRole } from '@n8n/api-types';
|
||||
import { Container } from '@n8n/di';
|
||||
import type { Scope } from '@n8n/permissions';
|
||||
import type { GlobalRole, Scope } from '@n8n/permissions';
|
||||
|
||||
import type { CredentialSharingRole } from '@/databases/entities/shared-credentials';
|
||||
import type { WorkflowSharingRole } from '@/databases/entities/shared-workflow';
|
||||
import type { GlobalRole } from '@/databases/entities/user';
|
||||
import { RoleService } from '@/services/role.service';
|
||||
|
||||
import { createMember } from './shared/db/users';
|
||||
|
||||
Reference in New Issue
Block a user