mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix: Remove variable:read as a valid API key scope and make variable:update selectable in the UI (no-changelog) (#15356)
Co-authored-by: Ricardo Espinoza <ricardo@n8n.io>
This commit is contained in:
@@ -30,7 +30,7 @@ export const RESOURCES = {
|
||||
export const API_KEY_RESOURCES = {
|
||||
tag: [...DEFAULT_OPERATIONS] as const,
|
||||
workflow: [...DEFAULT_OPERATIONS, 'move', 'activate', 'deactivate'] as const,
|
||||
variable: DEFAULT_OPERATIONS,
|
||||
variable: ['create', 'update', 'delete', 'list'] as const,
|
||||
securityAudit: ['generate'] as const,
|
||||
project: ['create', 'update', 'delete', 'list'] as const,
|
||||
user: ['read', 'list', 'create', 'changeRole', 'delete'] as const,
|
||||
|
||||
@@ -15,6 +15,7 @@ export const OWNER_API_KEY_SCOPES: ApiKeyScope[] = [
|
||||
'variable:create',
|
||||
'variable:delete',
|
||||
'variable:list',
|
||||
'variable:update',
|
||||
'tag:create',
|
||||
'tag:read',
|
||||
'tag:update',
|
||||
|
||||
Reference in New Issue
Block a user