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
Remove console log
Carlos Monastyrski0e3af5ae7f8b
diff --git a/backend/src/services/certificate-authority/internal/internal-certificate-authority-service.ts b/backend/src/services/certificate-authority/internal/internal-certificate-authority-service.tsindex f8a2d895d0..c703ccce25 100644--- a/backend/src/services/certificate-authority/internal/internal-certificate-authority-service.ts+++ b/backend/src/services/certificate-authority/internal/internal-certificate-authority-service.ts@@ -1311,14 +1311,14 @@ export const internalCertificateAuthorityServiceFactory = ({}if (!internal) {- if (!actor || !actorId || !actorAuthMethod || !actorOrgId) {+ if (!actor || !actorId || !actorOrgId) {throw new BadRequestError({ message: "Actor is required" });}const { permission } = await permissionService.getProjectPermission({actor,actorId,projectId: ca.projectId,- actorAuthMethod,+ actorAuthMethod: actorAuthMethod || null,actorOrgId,actionProjectType: ActionProjectType.CertificateManager});diff --git a/backend/src/services/certificate-policy/certificate-policy-service.ts b/backend/src/services/certificate-policy/certificate-policy-service.tsindex 58e81a9fdf..fed6db0242 100644--- a/backend/src/services/certificate-policy/certificate-policy-service.ts+++ b/backend/src/services/certificate-policy/certificate-policy-service.ts@@ -812,14 +812,14 @@ export const certificatePolicyServiceFactory = ({}if (!internal) {- if (!actor || !actorId || !actorAuthMethod || !actorOrgId) {+ if (!actor || !actorId || !actorOrgId) {throw new BadRequestError({ message: "Actor is required" });}const { permission } = await permissionService.getProjectPermission({actor,actorId,projectId: template.projectId,- actorAuthMethod,+ actorAuthMethod: actorAuthMethod || null,actorOrgId,actionProjectType: ActionProjectType.CertificateManager});diff --git a/backend/src/services/certificate-v3/certificate-v3-service.ts b/backend/src/services/certificate-v3/certificate-v3-service.tsindex 72c853e72b..cee78a2a53 100644--- a/backend/src/services/certificate-v3/certificate-v3-service.ts+++ b/backend/src/services/certificate-v3/certificate-v3-service.ts@@ -177,8 +177,6 @@ const validateProfileAndPermissions = async ({return profile;}- console.log({ actor, actorId, actorOrgId });-if (!actor || !actorId || !actorOrgId) {throw new BadRequestError({ message: "Actor is required" });}@@ -203,7 +201,7 @@ const validateProfileAndPermissions = async ({actor,actorId,projectId: profile.projectId,- actorAuthMethod,+ actorAuthMethod: actorAuthMethod || null,actorOrgId,actionProjectType: ActionProjectType.CertificateManager});