diff --git a/superset-frontend/src/dashboard/types.ts b/superset-frontend/src/dashboard/types.ts index 2c2fbb281223d..57a317bb83454 100644 --- a/superset-frontend/src/dashboard/types.ts +++ b/superset-frontend/src/dashboard/types.ts @@ -29,7 +29,7 @@ import { chart } from 'src/components/Chart/chartReducer'; import componentTypes from 'src/dashboard/util/componentTypes'; import { UrlParamEntries } from 'src/utils/urlUtils'; -import { BootstrapUser } from 'src/types/bootstrapTypes'; +import { UserWithPermissionsAndRoles } from 'src/types/bootstrapTypes'; import { ChartState } from '../explore/types'; export { Dashboard } from 'src/types/Dashboard'; @@ -117,7 +117,7 @@ export type RootState = { dataMask: DataMaskStateWithId; impressionId: string; nativeFilters: NativeFiltersState; - user: BootstrapUser; + user: UserWithPermissionsAndRoles; }; /** State of dashboardLayout in redux */