Hi,
I'm trying to cut down push into repos, would like to allow temporaly to
some specific users.
Right now Im cutting down push by setting in the update Hook script,
problem is that is cut down for everybody and there is no way to identify
who is the "pusher".
Actually i've hacked :) gitlab-shell/lib/gitlab_shell.rb by adding
ENV['GL_USERR'] = "#{username}" line so I can retrieve it's value (user =
ENV['GL_USERR']) and use it in an "if" inside the update Hook script.
I'm sure this is not the way to do it, and propably it may have side
effects.
Can comeone advise me how to do it, and in case if gitlab got this buildin
functionality?
Thanks in advance
Regards
aj
--
You received this message because you are subscribed to the Google Groups
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.