Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to allow user sign up in gitlab but restrict their email to specific domain?

Tags:

gitlab

I can enable user sign up by edit config/gitlab.yaml

## Users management
signup_enabled: true          # default: false

I want to restrict user email to domain mycompany.com when signuped so that only people in my company can create a gitlab account. such as:

[email protected]   # ok to sign up
[email protected] # ok to sign up

[email protected] # disallow to sign up

how to configure it in gitlab?

like image 251
oylbin Avatar asked Jul 01 '13 08:07

oylbin


People also ask

What is GitLab Community Edition?

GitLab Community Edition (CE) is an open source end-to-end software development platform with built-in version control, issue tracking, code review, CI/CD, and more. Self-host GitLab CE on your own servers, in a container, or on a cloud provider.


1 Answers

2013: That was recently requested (issue 4413), but not yet implemented.

Implemented in 2016 (Merge Request 598, GitLab 7.11, May 2015) in the Admin Area:

https://gitlab.com/gitlab-org/gitlab-ce/uploads/b312046aae03971f37f4247382971fc6/image.png


Original answer (2013):

That would be similar to the Atlassian Confluence setting:

Confluance setting

So pull requests are welcome.

[edit]
Feature request was moved here.

like image 77
VonC Avatar answered Oct 11 '22 15:10

VonC