mirror of
https://github.com/simstudioai/sim.git
synced 2026-09-24 15:45:35 +08:00
fix(start): permission check for executor
This commit is contained in:
@@ -136,6 +136,10 @@ export async function validateBlockType(
|
||||
blockType: string,
|
||||
ctx?: ExecutionContext
|
||||
): Promise<void> {
|
||||
if (blockType === 'start_trigger') {
|
||||
return
|
||||
}
|
||||
|
||||
if (!userId) {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user