mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 21:28:18 +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);
|
export const MachineIdentityClientSecretData = model<IMachineIdentityClientSecretData>("MachineIdentityClientSecretData", machineIdentityClientSecretDataSchema);
|
||||||
@@ -18,7 +18,8 @@ const machineMembershipSchema = new Schema<IMachineMembership>(
|
|||||||
workspace: {
|
workspace: {
|
||||||
type: Schema.Types.ObjectId,
|
type: Schema.Types.ObjectId,
|
||||||
ref: "Workspace",
|
ref: "Workspace",
|
||||||
required: true
|
required: true,
|
||||||
|
index: true,
|
||||||
},
|
},
|
||||||
role: {
|
role: {
|
||||||
type: String,
|
type: String,
|
||||||
|
|||||||
Reference in New Issue
Block a user