I have the following problem: “User A” would like to see some documents and he doesn’t necceserily have reader access to all of them. I would like to create an agent selectable in Action menu, which would be run by “User A” but with rights/“visibility” of some power user.
I tried entering “Run on behalf of”, but didn’t have much success.
What would be the best way to approach this problem.
If you sign the agent with an ID that has the appropriate access, the user can invoke the agent with a scripted action using agent.runonserver.
This causes the agent to run with the permisions of the signer.
You should make the agent on schedule/never.
Doing this also alows you to pass a notes document to the agent via the document context property - a very handy way to tell the agent what subset of documents you wish to alter.