A question regarding user email from git config
Created by: neverhood
Hi Guys!
So, basically, we've been thinking of a feature that would allow us to reject updates based on user email in git config. If commit's authors email is not in users
table - the whole changeset would be rejected with appropriate message.
Hooks seem to be a perfect fit here, however, my employer would really like to make it a gitlab feature. So my questions are:
- Would you accept this kind of feature as a merge request?
- If so, what would be the best place to start at? Seems like
GitlabNet.allowed?
and API might work
Thanks!