mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Feat: Scoped JWT to organization, add actorAuthMethod to DTO's
This commit is contained in:
@@ -8,6 +8,7 @@ export type TUpdateOrgMembershipDTO = {
|
||||
membershipId: string;
|
||||
role: string;
|
||||
actorOrgId?: string;
|
||||
actorAuthMethod: ActorAuthMethod;
|
||||
};
|
||||
|
||||
export type TDeleteOrgMembershipDTO = {
|
||||
@@ -15,12 +16,14 @@ export type TDeleteOrgMembershipDTO = {
|
||||
orgId: string;
|
||||
membershipId: string;
|
||||
actorOrgId?: string;
|
||||
actorAuthMethod: ActorAuthMethod;
|
||||
};
|
||||
|
||||
export type TInviteUserToOrgDTO = {
|
||||
userId: string;
|
||||
orgId: string;
|
||||
actorOrgId?: string;
|
||||
actorAuthMethod: ActorAuthMethod;
|
||||
inviteeEmail: string;
|
||||
};
|
||||
|
||||
@@ -35,6 +38,7 @@ export type TFindOrgMembersByEmailDTO = {
|
||||
actorAuthMethod: ActorAuthMethod;
|
||||
actorOrgId: string | undefined;
|
||||
actorId: string;
|
||||
actorAuthMethod: ActorAuthMethod;
|
||||
orgId: string;
|
||||
emails: string[];
|
||||
};
|
||||
@@ -43,6 +47,7 @@ export type TFindAllWorkspacesDTO = {
|
||||
actor: ActorType;
|
||||
actorId: string;
|
||||
actorOrgId?: string;
|
||||
actorAuthMethod: ActorAuthMethod;
|
||||
orgId: string;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user