title: How to create a GitLab hook to reject code pushed by 'root' user?
body: <p>I work with an undisciplined team and one of the developers likes to push code as the 'root' user. We need to add a gitlab hook that rejects those commits coming from the 'root' user. </p>
  
  <p>I've read about <a href="http://doc.gitlab.com/ce/api/system_hooks.html" rel="nofollow">System Hooks</a> and <a href="https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/web_hooks/web_hooks.md" rel="nofollow">Web Hooks</a>, neither of which seems like the right direction.</p>
  
  <p>Can one of you gitlab gurus help me out?</p>