Feature #5159
closedAbility to add Non-Member watchers to the watch list
0%
Description
We currently have over 4,000 employees in our company. We would like the ability to add a watcher to the list without having to add them to the actual project. Since there are over 30 projects currently in our system maintaining a watcher list is becoming a nightmare because the project managers are having to constantly add the employees to the reporter list so that they can be added to the watch list.
Files
Related issues
Updated by Stanislav German-Evtushenko over 14 years ago
I do workaround at the moment, but it's quite useless:
1. Add user to project.
2. Add him as watcher.
3. Remove user from project.
Updated by Arnaud Martel over 14 years ago
I did a quick patch to fix this on my server. I'm pretty sure that Jean-Philippe and Eric will have a nicer solution but, in the meantime, this one works for me...
First, edit the file app/views/watchers/_watchers.rhtml and insert the following text at line 21:
<% if @project.is_public? %> <br>or email: <%= text_field 'email_watcher', :size => 80 %> <% end %>
you should have something like:
... <p><%= f.select :user_id, (watched.addable_watcher_users.collect {|m| [m.name, m.id]}), :prompt => true %> <% if @project.is_public? %> <br>or email: <%= text_field 'email_watcher', :size => 80 %> <% end %> <%= submit_tag l(:button_add) %> ...
Next, edit the file app/controllers/watchers_controller.rb and insert the following text at the start of the new function (line 40):
if params[:email_watcher] wuser = User.find_by_mail(params[:email_watcher][:size80]) if wuser params[:watcher][:user_id] = wuser.id else raise end end
you should have something like:
... def new if params[:email_watcher] wuser = User.find_by_mail(params[:email_watcher][:size80]) if wuser params[:watcher][:user_id] = wuser.id else raise end end @watcher = Watcher.new(params[:watcher]) ...
Final step: restart your web server and it should work as you like...
Updated by Enrique Delgado over 14 years ago
+1
Aranaud: Okay so if I understand correctly, with your patch you can add a watcher based on the email, as long as that email matches a redmine user? How about any email address? More like a "CC" field? Maybe Jean-Philippe and Eric can consider this functionality...
Updated by Arnaud Martel over 14 years ago
You're right: with my patch, emails have to match a redmine user. As you have seen, redmine_cc_addresses plugin seems to be a better choice for you...
Updated by Jean-Philippe Lang almost 13 years ago
- File add_watchers.png add_watchers.png added
- Status changed from New to Closed
- Assignee set to Jean-Philippe Lang
- Target version set to 1.4.0
- Resolution set to Fixed
Feature added in r8592.
Watchers can now be added via a dialog box. It displays project members by default and you can use the search field to search for other users. Multiple users can be added at the same time.
Updated by Jason Trahan almost 13 years ago
Thank you very much. This will be a tremendous help.
Updated by Jason Trahan over 12 years ago
- Status changed from Closed to Reopened
It appears I can only add the watchers after the ticket is created. It would be nice to be able to add them at the time of ticket creation.
Updated by Mischa The Evil over 12 years ago
Updated by Jean-Philippe Lang over 12 years ago
- Status changed from Reopened to Closed
Jason Trahan wrote:
It appears I can only add the watchers after the ticket is created. It would be nice to be able to add them at the time of ticket creation.
Added in r9254.
Updated by Fernando Hartmann over 12 years ago
I don't understood how this work !
- Added one watcher user to a issue in with no permission on that project.
- Posted some update to a issue
- Users registered to that project received a email notification
- Other watcher user didn't received nothing
- User with no perms on the project didn't have access to a issue
How this feature is supposed to work ? Is there some docs about this ?
Updated by Maxim Kim about 12 years ago
This change caused a major problems at least for us.
We let our customers to add new issues and watchers. And now our customers can see other customer names, which is inacceptable!
Could you please add asap setting to switch off this feature.
My personal opinion is that right solution was to add permission "can be non-member watcher" as someone suggested earlier.
Updated by Enrique Delgado about 12 years ago
Arnaud Martel wrote:
You're right: with my patch, emails have to match a redmine user. As you have seen, redmine_cc_addresses plugin seems to be a better choice for you...
Just as a follow up: thanks Arnaud, I did end up going the redmine_cc_addresses route. I also like the new feature. Maybe to ease Maxim's concerns, some permissions need to be established so that some projects allow watchers from non-members, while some projects do not.
Thanks all for all your fine work.
Updated by Daniel Hochman over 11 years ago
We are running BitNami Redmine 2.3.1 and I am not able to see users in the watchers list unless they are a member of the project. The Projects are "public" so these users have access. We are using the "Watchers Textinput plugin" - is that causing this issue? Before using that plugin, we had a long list of checkboxes.
Updated by Toshi MARUYAMA about 11 years ago
- Related to Defect #15123: "Add watcher" leaks all active users added
Updated by Beni Bilme almost 11 years ago
We are using bitnami redmine stack for redmine 2.3.3, and watchers function is not working unless the watcher is project member.
Updated by Toshi MARUYAMA almost 11 years ago
Beni Bilme wrote:
We are using bitnami redmine stack for redmine 2.3.3, and watchers function is not working unless the watcher is project member.
You need to search in text box.
Updated by Daniel Hochman almost 11 years ago
No, this is a bug. I am having the same issue as Beni and we are no longer on bitnami stack. This issue needs to be re-opened as a bug. You cannot add watchers who are not members of the project after issue creation.
Updated by Toshi MARUYAMA almost 11 years ago
Daniel Hochman wrote:
No, this is a bug. I am having the same issue as Beni and we are no longer on bitnami stack. This issue needs to be re-opened as a bug. You cannot add watchers who are not members of the project after issue creation.
If it is on only bitnami, please contact bitnami.
If it is on clean Redmine, do not re-open this issue, create new issue.
Updated by Go MAEDA about 9 years ago
- Has duplicate Feature #4889: Ability to CC users not assigned to a project, but with project view rights added
Updated by Go MAEDA almost 6 years ago
- Related to Defect #30370: No validation when adding watcher who is not in this project added
Updated by Go MAEDA almost 5 years ago
- Related to Patch #16133: Available watchers on new issue form include users who cannot even view issues added