Hi Daniel,

I don't have a solution to your questions.

We recommend not modifying the Omnibus packages since you will loose
all changes on upgrade. Either modify a source installation or get
into touch with sa...@gitlab.com, we'll introduce a feature to limit
email addresses to one domain in GitLab EE soon, maybe we can change
it to allow some domains. Or get it working and tested and contribute
it to GitLab CE before we release the EE feature.

Best regards,
Sytse Sijbrandij
CEO GitLab B.V.


On Fri, Mar 6, 2015 at 6:19 AM, Daniel Ruiz Molina <dru...@gmail.com> wrote:
> Hello,
>
> I have installed Gitlab Community Edition in a CentOS 7 and I have modified
> 4 files to limit user registrations to certain email domains. However, after
> modifying that files, I can still register from domains that should be not
> allowed. Also, I have added a debugging line that creates a file in /tmp in
> the first file I have modified
> (/opt/gitlab/embedded/service/gitlab-rails/app/models/user.rb) and my file
> (/tmp/file1) is not created in /tmp, so I suppose registration process is
> not reading that file.
>
> Files I have modified are:
> https://gitlab.com/patternoia/gitlab-ce/commit/36a83823e58e8560eab0d5f0cab5055bed592ba8?view=inline
>
> /opt/gitlab/embedded/service/gitlab-rails/app/models/user.rb
> /opt/gitlab/embedded/service/gitlab-rails/config/initializers/1_settings.rb
> /opt/gitlab/embedded/service/gitlab-rails/spec/models/user_spec.rb
> /opt/gitlab/embedded/service/gitlab-rails/config/gitlab.yml.example
>
>
> In my CentOS system, gitlab files are located in
> /opt/gitlab/embedded/service/gitlab-rails... but I'm confused if that are
> the correct files or, maybe, I should modified other ones
> (/opt/gitlab/embedded/service/gitlab-ci/...)
>
> Please, can someone help me?
>
> Thanks.
>
>
>
> --
> 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 gitlabhq+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/gitlabhq/ffd31ffc-9e35-4305-a1ec-f449316017f3%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/CAJTzhG96nEYsQD7jY9Aby5SBk%3Dq%2BjKdB0-pbHk%3Dc9e4z0THDnw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to