I'm trying to find an answer to this but either I'm looking over it every time or it's just not documented.
When running a script in a post function, what is the context that this is executed as?
Is it as the user that did the action to trigger the post function?
Is it as a generic internal user?
Is it as an admin/service account?
Anybody got a definitive answer to this?