Thanks! So i’ll get someone who knows the ins and outs a bit better than me to reply or open a support ticket.
What I know about the hook is that it is a pre receive hook that pulls some settings values from the plugin, pulls in some of the repo settings and is wrapped around some code that sends the values out to a perl script (because this perl script is use by our raw git service, github, bitbucket, and gerrit services, since we have to support all of them).
The perl script makes sure the commit message provides a valid rally ID, attaches the diff, and emails the user or group of users that are part of the settings if the commit passes or fails and why.
So i’d like to run all the code for the pre-receive or at least the code that calls out to the perl script as a non admin account so that if there are users getting emailed that are no longer at the company, it doesn’t bounce back to the admin account, it bounces back to the generic account or the person doing the commit (which would be better).
Does this make sense?