Skip to content

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

fix(permission): correct typo in error message for ForbiddenRequestError

Victor Hugo dos Santoscad1ee17daf2
diff --git a/backend/src/ee/services/permission/permission-service.ts b/backend/src/ee/services/permission/permission-service.ts
index 109971f6c4..a7747d1b97 100644
--- a/backend/src/ee/services/permission/permission-service.ts
+++ b/backend/src/ee/services/permission/permission-service.ts
@@ -478,7 +478,7 @@ export const permissionServiceFactory = ({
// Re-validate org and project type on cache hit (actorOrgId is not in cache key)
if (projectDetails.orgId !== actorOrgId) {
- throw new ForbiddenRequestError({ message: "This projec t does not belong to your selected organization." });
+ throw new ForbiddenRequestError({ message: "This project does not belong to your selected organization." });
}
if (actionProjectType !== ActionProjectType.Any && actionProjectType !== projectDetails.type) {
throw new BadRequestError({