Hi All,
I’m currently writing a web based application. All of the backend stuff is done with Java via an agent which is set to run as the web user.
As part of the admin for this application, I need to be able to enable or disable a scheduled agent. I’d set the security on this agent to “Allow editor level user activation” but it was just throwing errors each time I tried to call save on the other agent.
Eventually I tracked it down to the fact that I’d set the agent to run on server with the option “Choose server when agent is enabled” checked. Although you can enable or disable the agent as an Editor, this agent needed the server name set and that requires higher access privileges.
My way round it is going to be to test the current access level and only enable the agent if the user has designer or above access, or the agent doesn’t need it’s server name changing.
I couldn’t find anything when I searched on this so hopefully this will help anyone else having trouble with this.
Emily.