File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
management/identities/_schemas Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,9 @@ export class Identities extends AbstractSchema {
2828 @Prop ( { type : Boolean , default : false } )
2929 public deletedFlag : boolean ;
3030
31+ @Prop ( { type : Boolean , default : false } )
32+ public ignoreLifecycle : boolean ;
33+
3134 @Prop ( { type : inetOrgPersonSchema , required : true } )
3235 public inetOrgPerson : inetOrgPerson ;
3336
Original file line number Diff line number Diff line change @@ -53,7 +53,10 @@ export default class LifeCycle1752765731 {
5353 this . mongo . collection ( 'identities' ) . updateOne (
5454 { _id : identity . _id } ,
5555 {
56- $set : { 'inetOrgPerson.lifecycle' : identity . lifecycle }
56+ $set : {
57+ 'inetOrgPerson.lifecycle' : identity . lifecycle ,
58+ ignoreLifecycle : false ,
59+ }
5760 } ,
5861 ) ;
5962 }
You can’t perform that action at this time.
0 commit comments