mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2026-08-24 12:32:33 +02:00
refactor(core): Enforce authorization by default on all routes (no-changelog) (#8762)
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
import { Authorized, Post, RestController, GlobalScope } from '@/decorators';
|
||||
import { Post, RestController, GlobalScope } from '@/decorators';
|
||||
import { OrchestrationRequest } from '@/requests';
|
||||
import { OrchestrationService } from '@/services/orchestration.service';
|
||||
import { License } from '@/License';
|
||||
|
||||
@Authorized()
|
||||
@RestController('/orchestration')
|
||||
export class OrchestrationController {
|
||||
constructor(
|
||||
@@ -12,7 +11,7 @@ export class OrchestrationController {
|
||||
) {}
|
||||
|
||||
/**
|
||||
* These endpoints do not return anything, they just trigger the messsage to
|
||||
* These endpoints do not return anything, they just trigger the message to
|
||||
* the workers to respond on Redis with their status.
|
||||
*/
|
||||
@GlobalScope('orchestration:read')
|
||||
|
||||
Reference in New Issue
Block a user