Add opt-in roll_call business module gate.
Keeps Roll Call off by default and blocks the API until super-admin enables it. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
a6c2d4764e
commit
3558c441b9
@@ -245,6 +245,7 @@ export const BUSINESS_DASHBOARD_MODULE_IDS = [
|
||||
'workshops',
|
||||
'finance',
|
||||
'multilanguage_data',
|
||||
'roll_call',
|
||||
] as const;
|
||||
|
||||
/** Optional customer-dashboard modules. Always-on: home, profile, addresses, orders, favorites. */
|
||||
@@ -352,7 +353,8 @@ export const DEFAULT_ENABLED_BUSINESS_MODULES: BusinessModuleId[] =
|
||||
(id) =>
|
||||
id !== 'workshops' &&
|
||||
id !== 'multilanguage_data' &&
|
||||
id !== 'store_installments',
|
||||
id !== 'store_installments' &&
|
||||
id !== 'roll_call',
|
||||
);
|
||||
|
||||
export const DEFAULT_HOME_CHARTS: [HomeChartId, HomeChartId] = [
|
||||
|
||||
Reference in New Issue
Block a user