plomino/Plomino — Issue #27: PlominoAgent: why getOwner?
Author: jean
Created: 2011-10-12 12:28:11+00:00
State: open

Why would `getOwner` be preferable to `getRunAs`, where `getRunAs` returns a username which is looked up?

If you want to change the execution rights of an agent, you would have to delete it and recreate it as the new owner.
Or you would need to use `Owned.changeOwnership` from the debug prompt.
If you wanted the agent to run as a user who does not have the permission to create the agent, this would be the only way.