mirror of
https://github.com/simstudioai/sim.git
synced 2026-04-06 03:00:16 -04: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