mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Merge branch 'stv3-org-roles' of https://github.com/Infisical/infisical into stv3-org-roles
This commit is contained in:
@@ -71,4 +71,8 @@ const machineIdentityClientSecretDataSchema = new Schema(
|
||||
}
|
||||
);
|
||||
|
||||
machineIdentityClientSecretDataSchema.index(
|
||||
{ machineIdentity: 1, isActive: 1 }
|
||||
)
|
||||
|
||||
export const MachineIdentityClientSecretData = model<IMachineIdentityClientSecretData>("MachineIdentityClientSecretData", machineIdentityClientSecretDataSchema);
|
||||
@@ -18,7 +18,8 @@ const machineMembershipSchema = new Schema<IMachineMembership>(
|
||||
workspace: {
|
||||
type: Schema.Types.ObjectId,
|
||||
ref: "Workspace",
|
||||
required: true
|
||||
required: true,
|
||||
index: true,
|
||||
},
|
||||
role: {
|
||||
type: String,
|
||||
|
||||
Reference in New Issue
Block a user