Fetch roles in roles settings page (#10001)
## Context Following the addition of the new Roles page, we are now fetching roles from the DB thanks to this PR #9955 ## Test <img width="1136" alt="Screenshot 2025-02-04 at 14 46 21" src="https://github.com/user-attachments/assets/2c55c4d0-ee51-47bb-8113-efce172a9365" /> --------- Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
This commit is contained in:
@ -1386,7 +1386,7 @@ export type Query = {
|
||||
getPostgresCredentials?: Maybe<PostgresCredentials>;
|
||||
getProductPrices: BillingProductPricesOutput;
|
||||
getPublicWorkspaceDataBySubdomain: PublicWorkspaceDataOutput;
|
||||
getRoles: Array<RoleDto>;
|
||||
getRoles: Array<Role>;
|
||||
getServerlessFunctionSourceCode?: Maybe<Scalars['JSON']['output']>;
|
||||
getTimelineCalendarEventsFromCompanyId: TimelineCalendarEventsWithTotal;
|
||||
getTimelineCalendarEventsFromPersonId: TimelineCalendarEventsWithTotal;
|
||||
@ -1653,8 +1653,8 @@ export type ResendEmailVerificationTokenOutput = {
|
||||
success: Scalars['Boolean']['output'];
|
||||
};
|
||||
|
||||
export type RoleDto = {
|
||||
__typename?: 'RoleDTO';
|
||||
export type Role = {
|
||||
__typename?: 'Role';
|
||||
canUpdateAllSettings: Scalars['Boolean']['output'];
|
||||
description?: Maybe<Scalars['String']['output']>;
|
||||
id: Scalars['String']['output'];
|
||||
|
||||
Reference in New Issue
Block a user