feat(settings): add enable_automation SuperAdmin switch (default off)

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-24 16:15:52 +03:30
co-authored by Cursor
parent 8f2f27b4a1
commit 83f5834aff
3 changed files with 34 additions and 2 deletions
@@ -5,6 +5,7 @@
export const DEPLOY_SETTING_CATALOG_KEYS = new Set<string>([
"customer_direct_sms",
"customer_special_pricing",
"enable_automation",
"enable_conditional_order",
"enable_customer_level_profit",
"enable_product_funds",
@@ -20,8 +21,7 @@ export const DEPLOY_SETTING_CATALOG_KEYS = new Set<string>([
/**
* کلیدهایی که سوپرادمین مالکشان نیست (مالک: دیتابیس هر نصب).
* در هر بوت از قالب حذف می‌شوند؛ از ردیف هر پروژه فقط با دکمهٔ
* «حذف تنظیمات غیر دسترسی» در صفحهٔ تنظیمات همان پروژه.
* در هر بوت از قالب حذف می‌شوند؛ از ردیف هر پروژه فقط با دکمهٔ صفحهٔ تنظیمات همان پروژه.
*/
export const DEPLOY_SETTING_EDITABLE_KEYS = new Set<string>([
"about_software",