Is there a way to have a document created via API, with the assignment of roles and groups matching that of an equivalent document created by user via the GUI?
We will have an external system create a "Placeholder" documenting VVPM. When doing that, the only role assigned is the external system account as 'Owner' of the document. If a user creates an equivalent document via the GUI, our security assigns Roles to approximately 40 groups (e.g. a 'Viewer' role is assigned to a group with access to view documents associated with the assigned Product on the document.
Rather than have to program the external system to assign roles following same rules as VVPM would apply to a GUI created document, is there any way to have the API created document assigned the same roles? It would be best if the assignment happened at document creation just as it would with a GUI created document, but if we had to run a scheduled Job to reconcile that would be acceptable as well.