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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user