Add enable_gold_credit to SuperAdmin setting catalog.

Default the per-tenant gold credit access flag to false so projects opt in explicitly.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-30 00:17:45 +03:30
co-authored by Cursor
parent 93202a3c18
commit 09218ee1e2
2 changed files with 11 additions and 1 deletions
+10 -1
View File
@@ -124,5 +124,14 @@
"is_active": 1,
"description": "",
"type": ""
},
{
"key": "enable_gold_credit",
"value": "false",
"title_fa": "اعتبار طلایی",
"description": "روشن: زیرمنوی اعتبار در مشتریان و صفحه اعتبار در اپ مشتری. خاموش: غیرفعال. فقط از سوپرادمین.",
"type": "switch",
"can_edit": 0,
"is_active": 1
}
]
]
@@ -8,6 +8,7 @@ export const DEPLOY_SETTING_CATALOG_KEYS = new Set<string>([
"enable_automation",
"enable_conditional_order",
"enable_customer_level_profit",
"enable_gold_credit",
"enable_product_funds",
"group_sms",
"has_page_earn_money",