Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Feat: Scoped JWT to organization, add actorAuthMethod to Permission types
Daniel Hougaardbd92e357291f
diff --git a/backend/src/lib/types/index.ts b/backend/src/lib/types/index.tsindex 918322d62e..547e85af97 100644--- a/backend/src/lib/types/index.ts+++ b/backend/src/lib/types/index.ts@@ -1,9 +1,10 @@-import { ActorType } from "@app/services/auth/auth-type";+import { ActorAuthMethod, ActorType, AuthMethod } from "@app/services/auth/auth-type";export type TOrgPermission = {actor: ActorType;actorId: string;orgId: string;+ actorAuthMethod: ActorAuthMethod;actorOrgId?: string;};@@ -11,6 +12,7 @@ export type TProjectPermission = {actor: ActorType;actorId: string;projectId: string;+ actorAuthMethod: AuthMethod | null;actorOrgId?: string;};