Hi EDG enthusiasts,
my understanding is, that a resource action (explore / modify) is executed with the access rights / roles of the executing user (which is good).
Is there a way, to call a function from within the resource action script that itself runs within another user context (basically a static "runas" assignment on function or hosting collection level).
Use case is, that we want to provide an impact analysis report, where the changes planned in a workflow are checked against existing consumers of the collection.
To be sure, that the report catches all instances of references to the changed assets, it needs to run with global read privileges.
However, at the moment I found no approach, to achieve this with ADS scripts.
Any hint would be welcome.
Greetings
Bernd