Files
dify/web/app/components/header/account-setting/constants.ts
T
CodingOnStar 3b9b9d4d4f feat(web): add Access Control L2 config panel on Access Point
Paid Cloud workspaces open a config popover to pick an IP policy and apply it to access points. Sandbox still uses the paywall. Settings gains an IP Policies destination for the empty-state exit.
2026-09-08 15:44:56 +08:00

24 lines
750 B
TypeScript

export const ACCOUNT_SETTING_TAB = {
MEMBERS: 'members',
IP_POLICIES: 'ip-policies',
ROLES_AND_PERMISSIONS: 'roles-and-permissions',
PERMISSION_SET: 'permission-set',
BILLING: 'billing',
WORKFLOW_LOG_ARCHIVES: 'workflow-log-archives',
CUSTOM: 'custom',
PREFERENCES: 'preferences',
} as const
export type AccountSettingTab = (typeof ACCOUNT_SETTING_TAB)[keyof typeof ACCOUNT_SETTING_TAB]
export const ACCOUNT_SETTING_TAB_VALUES = [
ACCOUNT_SETTING_TAB.MEMBERS,
ACCOUNT_SETTING_TAB.IP_POLICIES,
ACCOUNT_SETTING_TAB.ROLES_AND_PERMISSIONS,
ACCOUNT_SETTING_TAB.PERMISSION_SET,
ACCOUNT_SETTING_TAB.BILLING,
ACCOUNT_SETTING_TAB.WORKFLOW_LOG_ARCHIVES,
ACCOUNT_SETTING_TAB.CUSTOM,
ACCOUNT_SETTING_TAB.PREFERENCES,
] as const