mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-30 15:24:22 +00:00
chore: add role column to the table users
This commit is contained in:
11 files changed
+239
-54
No files matched your search
@@ -325,6 +325,9 @@ export interface UserProfileProps {
|
||||
email: string;
|
||||
company_name: string;
|
||||
date_joined: string;
|
||||
role: {
|
||||
name: string;
|
||||
};
|
||||
};
|
||||
relationships: {
|
||||
memberships: {
|
||||
@@ -351,6 +354,9 @@ export interface UserProps {
|
||||
email: string;
|
||||
company_name: string;
|
||||
date_joined: string;
|
||||
role: {
|
||||
name: string;
|
||||
};
|
||||
};
|
||||
relationships: {
|
||||
memberships: {
|
||||
@@ -362,7 +368,20 @@ export interface UserProps {
|
||||
id: string;
|
||||
}>;
|
||||
};
|
||||
roles: {
|
||||
meta: {
|
||||
count: number;
|
||||
};
|
||||
data: Array<{
|
||||
type: "role";
|
||||
id: string;
|
||||
}>;
|
||||
};
|
||||
};
|
||||
roles: {
|
||||
id: string;
|
||||
name: string;
|
||||
}[];
|
||||
}
|
||||
|
||||
export interface ProviderProps {
|
||||
|
||||
@@ -200,4 +200,5 @@ export const editUserFormSchema = () =>
|
||||
.optional(),
|
||||
company_name: z.string().optional(),
|
||||
userId: z.string(),
|
||||
role: z.string().optional(),
|
||||
});
|
||||
Reference in new issue
Block a user