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
add role index
Maidul Islam91c1aca5888c
diff --git a/backend/src/models/role.ts b/backend/src/models/role.tsindex 4fe6cfc39b..643acedcd9 100644--- a/backend/src/models/role.ts+++ b/backend/src/models/role.ts@@ -48,6 +48,8 @@ const roleSchema = new Schema<IRole>(});+roleSchema.index({ organization: 1, workspace: 1 });+const Role = model<IRole>("Role", roleSchema);export default Role;