Email notification to admin when a new user is created

#1

Hi folks,
I’ve configured GitLab to authenticate using external provider (Google).

When a new account is created, this remains blocked until it’s unblocked by an administrator.

The problem is that administrators aren’t notified when a new user is registered and they need to check every day if a new user is registered.

There is any way to configure notifications when a new user is registered?

Thank you!
Jorge.

#2

Is this omnibus-gitlab?

I have configured Gitlab for Google mail and the instructions in the wiki seemed correct to me. You want Admin to receive a notification on new user sign up? I don’t see an option for that in gitlab.rb config file or in the admin ui. Sounds like a reasonable feature request to me.

Maybe you could consider disabling signup and just put a message to say “Requests for access can be sent to gitlabaccess@yourcompany.com

#3

I had manual installation, and then migrated to omnibus installation.

and yes, this is very useful feature.
why? because all new sign-ups creates blocked users and we want manually approve it.

#4

Any update on this? I also think, that this would be a very handy feature.

#5

I had this working until a recent upgrade; then something broke.

Users log in with LDAP credentials. We don’t block new accounts, so the account is active immediately.

A “user_create” system hook should fire when a new user is created that way. I just have a simple PHP script that pulls some info from the json that gets sent and sends an email to admins.

That used to work whether new accounts were blocked or immediately active.

From what I can tell, the user_create system hook firing anymore. It broke sometime around 9.4.

#6

Been a minute. Any updates on this? Seems like a very useful feature to just let die on the side of the road… I would think this to be a core feature of user management from an administrative perspective… Is it left to maybe Service Templates or something of that nature? Just some guidance on whether there are even plans to ever bring this back would be great, regardless of where it is on any roadmap.

[Guidance/Broken Feature] Administrative email notification with New/Blocked User on GitLab CE 11.10.4