Feature #2722
openNew user notification
0%
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
Updated by Eric Davis almost 16 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:
- User A signs up for Redmine
- User A gets registration email
- User A clicks the activation link
- User B gets a notification that User A has completed activation
Updated by Ric Turley almost 16 years ago
Ideally...
Scenario 1: Self Registration setting set to "account activation by email"- User A signs up for Redmine
- User A gets registration email
- User A clicks the activation link
- User B (and possibly C, D, ... N) gets a notification that User A has completed activation
- User A signs up for Redmine
- User B (and possibly C, D, ... N) gets a notification that User A has completed activation
Updated by Jean-Philippe Lang almost 15 years ago
- Target version set to 1.0.0 (RC)
Updated by Eric Davis over 14 years ago
- Target version deleted (
1.0.0 (RC))
Removing from 1.0. This hasn't been completed and 1.0 is feature frozen.
Updated by Arno Schoenmakers almost 14 years ago
Hi,
this is exactly the feature I'm looking for in our installation. Will this be added any time soon..?
Updated by Michael Esemplare about 10 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?
Updated by Renzo Dani about 10 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.
Updated by Brian Kirkpatrick over 9 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")
Updated by Toshi MARUYAMA over 9 years ago
- Related to Feature #1945: Automatically add user to project added
Updated by Go MAEDA about 5 years ago
- Related to Patch #32142: Send notification when a user is created via LDAP on-the-fly user creation added
Updated by Yuichi HARADA about 5 years ago
- File add_checkbox_for_send_notification.png add_checkbox_for_send_notification.png added
- File notification_mail_when_user_account_activated.png notification_mail_when_user_account_activated.png added
- File 2722_new_user_notification.patch 2722_new_user_notification.patch added
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.
Updated by Go MAEDA about 5 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.
Updated by Marius BÄ‚LTEANU about 5 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?
Updated by Yuichi HARADA over 3 years ago
- File 2722_new_user_notification-v2.patch 2722_new_user_notification-v2.patch added
- File settings-email-notifications.png settings-email-notifications.png added
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.
Updated by Go MAEDA over 3 years ago
- Target version set to Candidate for next major release