Feature #2722

New user notification

Added by Ric Turley almost 11 years ago. Updated 19 days ago.

Status:NewStart date:2009-02-11
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Email notifications
Target version:-
Resolution:

Description

Very nice application - keep up the great work.

I've put instructions on the my main page for people to email me once they self-register so I can assign them to the appropriate projects. It would be great to be able to set an email address (or several) to be notified on user self-activation.

add_checkbox_for_send_notification.png (121 KB) Yuichi HARADA, 2019-10-25 07:21

notification_mail_when_user_account_activated.png (182 KB) Yuichi HARADA, 2019-10-25 07:23

2722_new_user_notification.patch Magnifier (10.9 KB) Yuichi HARADA, 2019-10-25 07:25


Related issues

Related to Redmine - Feature #3775: Request project access by new users New 2009-08-24
Related to Redmine - Feature #1945: Automatically add user to project New 2008-09-25
Related to Redmine - Patch #32142: Send notification when a user is created via LDAP on-the-... New

History

#1 Updated by Eric Davis almost 11 years ago

Ric Turley wrote:

It would be great to be able to set an email address (or several) to be notified on user self-activation.

To rephrase this, you would like to be able to setup an email address that gets notified when a user has been activated correct?

Example:

  1. User A signs up for Redmine
  2. User A gets registration email
  3. User A clicks the activation link
  4. User B gets a notification that User A has completed activation

#2 Updated by Ric Turley almost 11 years ago

Ideally...

Scenario 1: Self Registration setting set to "account activation by email"
  1. User A signs up for Redmine
  2. User A gets registration email
  3. User A clicks the activation link
  4. User B (and possibly C, D, ... N) gets a notification that User A has completed activation
Scenario 2: Self Registration setting set to "automatic account activation"
  1. User A signs up for Redmine
  2. User B (and possibly C, D, ... N) gets a notification that User A has completed activation

#3 Updated by Eric Davis almost 11 years ago

  • Category set to Email notifications

#4 Updated by Jean-Philippe Lang almost 10 years ago

  • Target version set to 1.0.0 (RC)

#5 Updated by Paulo Santos almost 10 years ago

Related to #3775...

#6 Updated by Eric Davis over 9 years ago

  • Target version deleted (1.0.0 (RC))

Removing from 1.0. This hasn't been completed and 1.0 is feature frozen.

#7 Updated by Arno Schoenmakers almost 9 years ago

Hi,

this is exactly the feature I'm looking for in our installation. Will this be added any time soon..?

#8 Updated by Terence Mill almost 9 years ago

+1

Very useful for us!

#9 Updated by Aidin Abedi over 6 years ago

+1

#11 Updated by Renzo Dani about 5 years ago

+1

#12 Updated by Michael Esemplare about 5 years ago

I wouldn't mind creating a patch that would:

  • Create an option in either Settings->Authentication or Settings->Email notifications to "Notify Administrators of new account activation"
  • Email administrators when a new account is activated

A question in my mind is when Self Registration is set to Manual Account Activation, an admin would have to manually activate the account. Would it be worth emailing other admins of this?

Any comments, suggestions, ideas?

#13 Updated by Renzo Dani about 5 years ago

The proposal is exactly what we are looking for our case.
Better would be if any project manager would receive the notification. In our case the manager is the one responsible to add user to a project.

#14 Updated by Brian Kirkpatrick over 4 years ago

This behavior can be implemented by a plugin after the solution from #1945 is applied. This involves inserting a single line into app/models/user.rb to declare a 'on user create' hook, which can then be referenced by plugin code that, in turn, implements the desired behaviors. In the case of #1945, this means adding users to default projects; in the case of this issue (2722), this means invoking a plugin-specific Mailer class.

More information on implementing a plugin-specific Mailer can be found here:
http://stackoverflow.com/questions/10505894/send-email-from-redmine-plugin

Additional useful information on working with Action Mailer in general can be found here:
http://guides.rubyonrails.org/action_mailer_basics.html

And last, but not least, don't forget to log your hooks for debugging purposes:

Rails.logger.info("New user stuff going down")

#15 Updated by Toshi MARUYAMA over 4 years ago

  • Related to Feature #1945: Automatically add user to project added

#16 Updated by Go MAEDA about 1 month ago

  • Related to Patch #32142: Send notification when a user is created via LDAP on-the-fly user creation added

#17 Updated by Yuichi HARADA 29 days ago

When Self-registration ("Administration" > "Settings" > "Authentication") is "account activation by email" or "automatic account activation", send account activate notification to admins can be turned on/off.

If "Send notification to admins when activated" is checked, a notification will be sent to the administrators when a self-registered user account is activated.

I attached a patch.

#18 Updated by Go MAEDA 19 days ago

Thank you for posting the patch.

I think the checkbox should be placed below "Authentication required" dropdown because the dropdown and the checkbox have a close connection.

#19 Updated by Marius BALTEANU 19 days ago

Go MAEDA wrote:

Thank you for posting the patch.

I think the checkbox should be placed below "Authentication required" dropdown because the dropdown and the checkbox have a close connection.

Why not in "Email notifications" tab where are all settings related to email notifications?

Also available in: Atom PDF