[permissions] Move SettingsPermissions from twenty-shared to twenty-server (#10430)

This commit is contained in:
Marie
2025-02-24 12:16:53 +01:00
committed by GitHub
parent 36602eab17
commit 730792c947
30 changed files with 49 additions and 56 deletions

View File

@ -12,8 +12,9 @@ import { ViewType } from '@/views/types/ViewType';
import { useCallback, useContext } from 'react';
import { useLocation } from 'react-router-dom';
import { useSetRecoilState } from 'recoil';
import { isDefined, SettingsPermissions } from 'twenty-shared';
import { isDefined } from 'twenty-shared';
import { IconEyeOff, IconSettings } from 'twenty-ui';
import { SettingsPermissions } from '~/generated/graphql';
import { useNavigateSettings } from '~/hooks/useNavigateSettings';
type UseRecordGroupActionsParams = {