Hi,
I developed a TBO that change permissions of the current object (custom document in this case) based in a metadata of the object. All works fine when the user that execute the change have permission to change permissions, or this is the owner of the document or a superuser.
Sometimes, a user have Write access of the object and the metadata could be changed, but this level of permission doesn't permit to set a new ACL to this object.
I'm thing to do this using another session, with a superuser, but I don't no how to do.
Anyone can help me to understand how can I had two sessions with diferent users to execute this operation.
Thanks.