diff --git a/packages/twenty-front/src/generated-metadata/graphql.ts b/packages/twenty-front/src/generated-metadata/graphql.ts index 43b64d1d7..dbe3ff45a 100644 --- a/packages/twenty-front/src/generated-metadata/graphql.ts +++ b/packages/twenty-front/src/generated-metadata/graphql.ts @@ -1738,8 +1738,8 @@ export enum SettingsFeatures { API_KEYS_AND_WEBHOOKS = 'API_KEYS_AND_WEBHOOKS', DATA_MODEL = 'DATA_MODEL', ROLES = 'ROLES', - SECURITY_SETTINGS = 'SECURITY_SETTINGS', - WORKSPACE_SETTINGS = 'WORKSPACE_SETTINGS', + SECURITY = 'SECURITY', + WORKSPACE = 'WORKSPACE', WORKSPACE_USERS = 'WORKSPACE_USERS' } diff --git a/packages/twenty-front/src/generated/graphql.tsx b/packages/twenty-front/src/generated/graphql.tsx index cc94ffcf6..f6e03fe35 100644 --- a/packages/twenty-front/src/generated/graphql.tsx +++ b/packages/twenty-front/src/generated/graphql.tsx @@ -1,5 +1,5 @@ -import * as Apollo from '@apollo/client'; import { gql } from '@apollo/client'; +import * as Apollo from '@apollo/client'; export type Maybe = T | null; export type InputMaybe = Maybe; export type Exact = { [K in keyof T]: T[K] }; @@ -1535,7 +1535,7 @@ export enum SettingsFeatures { DATA_MODEL = 'DATA_MODEL', ROLES = 'ROLES', SECURITY = 'SECURITY', - WORKSPACE_SETTINGS = 'WORKSPACE_SETTINGS', + WORKSPACE = 'WORKSPACE', WORKSPACE_USERS = 'WORKSPACE_USERS' } diff --git a/packages/twenty-front/src/pages/settings/roles/components/RolePermissions.tsx b/packages/twenty-front/src/pages/settings/roles/components/RolePermissions.tsx index f770d80c1..8d05e01d4 100644 --- a/packages/twenty-front/src/pages/settings/roles/components/RolePermissions.tsx +++ b/packages/twenty-front/src/pages/settings/roles/components/RolePermissions.tsx @@ -63,7 +63,7 @@ export const RolePermissions = ({ role }: { role: Role }) => { value: role.canUpdateAllSettings, }, { - key: SettingsFeatures.WORKSPACE_SETTINGS, + key: SettingsFeatures.WORKSPACE, label: 'Workspace Settings', type: 'General', value: role.canUpdateAllSettings, @@ -87,7 +87,7 @@ export const RolePermissions = ({ role }: { role: Role }) => { value: role.canUpdateAllSettings, }, { - key: SettingsFeatures.SECURITY_SETTINGS, + key: SettingsFeatures.SECURITY, label: 'Security Settings', type: 'Security', value: role.canUpdateAllSettings,