We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5854ca4 commit d0a3cd3Copy full SHA for d0a3cd3
apps/sim/ee/access-control/utils/permission-check.ts
@@ -161,7 +161,7 @@ export async function validateBlockType(
161
}
162
163
const envAllowlist = getAllowedIntegrationsFromEnv()
164
- if (envAllowlist !== null && !envAllowlist.includes(blockType)) {
+ if (envAllowlist !== null && !envAllowlist.includes(blockType.toLowerCase())) {
165
logger.warn('Integration blocked by env allowlist', { blockType })
166
throw new IntegrationNotAllowedError(blockType, 'blocked by server ALLOWED_INTEGRATIONS policy')
167
0 commit comments