Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Update secret-service.ts

Daniel Hougaard3c2c70912fe8
diff --git a/backend/src/services/secret/secret-service.ts b/backend/src/services/secret/secret-service.ts
index 787dfde561..27981a5550 100644
--- a/backend/src/services/secret/secret-service.ts
+++ b/backend/src/services/secret/secret-service.ts
@@ -2814,11 +2814,7 @@ export const secretServiceFactory = ({
destinationAction,
subject(ProjectPermissionSub.Secrets, {
environment: destinationEnvironment,
- secretPath: destinationSecretPath,
- secretName: secretKey,
- ...(secret.tags.length && {
- secretTags: secret.tags.map((t) => t.id)
- })
+ secretPath: destinationSecretPath
})
);
}
@@ -2828,11 +2824,7 @@ export const secretServiceFactory = ({
sourceAction,
subject(ProjectPermissionSub.Secrets, {
environment: sourceEnvironment,
- secretPath: sourceSecretPath,
- secretName: secretKey,
- ...(secret.tags.length && {
- secretTags: secret.tags.map((t) => t.id)
- })
+ secretPath: sourceSecretPath
})
);
}