Project

General

Profile

Actions

Feature #2722

open

New user notification

Added by Ric Turley over 14 years ago. Updated about 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Email notifications
Start date:
2009-02-11
Due date:
% Done:

0%

Estimated time:
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.


Files


Related issues

Related to Redmine - Feature #3775: Request project access by new usersNew2009-08-24

Actions
Related to Redmine - Feature #1945: Automatically add user to projectNew2008-09-25

Actions
Related to Redmine - Patch #32142: Send notification when a user is created via LDAP on-the-fly user creationNew

Actions
Actions #1

Updated by Eric Davis over 14 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
Actions #2

Updated by Ric Turley over 14 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
Actions #3

Updated by Eric Davis over 14 years ago

  • Category set to Email notifications
Actions #4

Updated by Jean-Philippe Lang over 13 years ago

  • Target version set to 1.0.0 (RC)
Actions #5

Updated by Paulo Santos over 13 years ago

Related to #3775...

Actions #6

Updated by Eric Davis almost 13 years ago

  • Target version deleted (1.0.0 (RC))

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

Actions #7

Updated by Arno Schoenmakers over 12 years ago

Hi,

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

Actions #8

Updated by Terence Mill over 12 years ago

+1

Very useful for us!

Actions #9

Updated by Aidin Abedi about 10 years ago

+1

Actions #10

Updated by Jean-Baptiste Martin over 9 years ago

+1

Actions #11

Updated by Renzo Dani over 8 years ago

+1

Actions #12

Updated by Michael Esemplare over 8 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?

Actions #13

Updated by Renzo Dani over 8 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.

Actions #14

Updated by Brian Kirkpatrick almost 8 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")

Actions #15

Updated by Toshi MARUYAMA almost 8 years ago

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

Updated by Go MAEDA over 3 years ago

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

Updated by Yuichi HARADA over 3 years 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.

Actions #18

Updated by Go MAEDA over 3 years 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.

Actions #19

Updated by Marius BALTEANU over 3 years 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?

Actions #20

Updated by Yuichi HARADA about 2 years ago

Marius BALTEANU wrote:

Go MAEDA wrote:

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?

Moved the checkbox to the "Email notifications" tab. Unlike other notifications, this is a notification to the administrators, so I added a "Sent to administrators" checkbox.

Actions #21

Updated by Go MAEDA about 2 years ago

  • Target version set to Candidate for next major release
Actions

Also available in: Atom PDF