Since git distinguishes between commiters and authors, It would be great to not always check the author field, but if present, the commiter field, since this is the person that pushed the commit to the git server.
So the following commit by A should be accepted:
Currently, it is not working since only the author field is checked.
That seems like a great idea if anyone would like to submit a pull request.
I'd also like to see this too!