The sharing settings are removed each time we edit a resource

Hi devs,

When a user edits something in one resource (report - > resource), as the name, the current share settings are automatically replaced for the one associated to the user that is editing the resource. It is happening in the 2.17 and the 2.18 as well (I have tested it in the Sierra Leone Demo). Could you have a look at it please? We would need the solution for the 2.17 as well.

Many thanks