mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Feat: Scoped JWT to organization, actorAuthMethod to create project DTO
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import { ProjectMembershipRole, TProjectKeys } from "@app/db/schemas";
|
import { ProjectMembershipRole, TProjectKeys } from "@app/db/schemas";
|
||||||
import { TProjectPermission } from "@app/lib/types";
|
import { TProjectPermission } from "@app/lib/types";
|
||||||
|
|
||||||
import { ActorType } from "../auth/auth-type";
|
import { ActorAuthMethod, ActorType } from "../auth/auth-type";
|
||||||
|
|
||||||
export enum ProjectFilterType {
|
export enum ProjectFilterType {
|
||||||
ID = "id",
|
ID = "id",
|
||||||
@@ -21,6 +21,7 @@ export type Filter =
|
|||||||
|
|
||||||
export type TCreateProjectDTO = {
|
export type TCreateProjectDTO = {
|
||||||
actor: ActorType;
|
actor: ActorType;
|
||||||
|
actorAuthMethod: ActorAuthMethod;
|
||||||
actorId: string;
|
actorId: string;
|
||||||
actorOrgId?: string;
|
actorOrgId?: string;
|
||||||
orgSlug: string;
|
orgSlug: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user