mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2026-09-04 09:40:36 +02:00
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <netroy@users.noreply.github.com>
13 lines
440 B
TypeScript
13 lines
440 B
TypeScript
import { Config, Env } from '@n8n/config';
|
|
|
|
@Config
|
|
export class InstanceSettingsConfig {
|
|
/**
|
|
* Whether to enforce that n8n settings file doesn't have overly wide permissions.
|
|
* If set to true, n8n will check the permissions of the settings file and
|
|
* attempt change them to 0600 (only owner has rw access) if they are too wide.
|
|
*/
|
|
@Env('N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS')
|
|
enforceSettingsFilePermissions: boolean = false;
|
|
}
|