Hello Christopher,
thank you for your fast answer.
i think i have not been clear enough.
The process is as following,
1/test user one works on the object id ('XXX'), he modificate and/or add elements on it.
2/test user one goes to holidays
at this point there is two steps possible, test user two will have to work on that object id ('XXX')
2.1/ test user two dont want to continue the work initiated by test user one --> we just have to purge unlock the object.
so test user two would be able to work on the object from scratch at the same level of revision.
2.2/ test user two want to continue the work of test user one but we dont want to make evolve the generation level.
here we have a problem because if we save the work of test user one and unlock the objet id ('XXX'), the revision will increase from 1 to 2 for example. And we dont want that for tracking documentation reasons.
This why i wonder if it is possible to modify the attribute "locked_by_id" for an user to another without save and unlock the object ?
The real question is : is it possible to modifiy that attribute with REST or is it protected internaly ?
Shall we write a method that follow an attribute on the object like "remove generation creation on saved" bool, that if it is thicked the save and unlock is done without new generation creation ? is it possible ?
Thanks you so much.