Permission Issue on lifecycle when versioned is done

I use the following code to version up an item. but when the version goes up, and the lifecycle the resets,  the permission it inherits are the ones from the previous node of the lifecycle can some tell me how get it get its real permissions of that particular new node.

Item myThis = this.apply("version");
if(myThis.fetchLockStatus()>0) {myThis.unlockItem();}

return myThis;

Parents Reply Children
No Data