Remove Owner from Thing
Let us consider the following scenario:
UserA creates ThingA programmatically. This means that UserA is automatically the owner of ThingA and has all permissions on it. How can I remove UserA as the owner of ThingA, so that UserA has no visibility or permissions on ThingA anymore? And is it possible that UserA removes himself as the owner (without administrator rights)?
Executing the setOwner service on ThingA as Administrator with the Administrator as new owner parameter seems to do exactly that - replace UserA with Administrator as the owner. However, the setOwner service belongs to the so-called Administrator Service, i.e. only users in the Administrators User Group can execute it. In my use case, I want to avoid adding UserA to the Administrators User Group and I need to remove the ownership directly after ThingA is created.
In a nutshell: I need a mechanism to create a Thing as a specific user and afterwards remove this user's permissions from the newly created Thing.
Maybe there is a way to execute the setOwner as Administrator whilst logged in as a normal user? But this would probably also require that the normal user has visibility of the Administrator User..
Thank you!

