Skip to content

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

docs(secret-v2-bridge): clarify caching behavior for permission fingerprint retrieval

Victor Hugo dos Santos51caeda273d6
diff --git a/backend/src/services/secret-v2-bridge/secret-v2-bridge-service.ts b/backend/src/services/secret-v2-bridge/secret-v2-bridge-service.ts
index c0065f9e2b..2c04cde982 100644
--- a/backend/src/services/secret-v2-bridge/secret-v2-bridge-service.ts
+++ b/backend/src/services/secret-v2-bridge/secret-v2-bridge-service.ts
@@ -1267,6 +1267,7 @@ export const secretV2BridgeServiceFactory = ({
if (actor === ActorType.USER || actor === ActorType.IDENTITY) {
// Cache the fingerprint for the marker window so repeated polls
// skip the per-request DB query. Same 10s TTL as getProjectPermission's marker, so no new staleness.
+ // This gates only the Etag cache, the real permission check is still done on the getProjectPermission call.
permissionFingerprint = await withCache({
keyStore,
key: KeyStorePrefixes.SecretPermissionFingerprint(projectId, actor, actorId),