Feature #9330
closed
Watchers can not see the ticket status, if their role is set to only own or assigned tickets.
Added by Francesco Trigger about 13 years ago.
Updated over 8 years ago.
Category:
Issues permissions
Description
Hi,
i think that should be changed, because it makes no sense that way.
If i add a ticket for an user as assignee and another user as a watcher, thats role is ONLY allowed to see tickets assigned to him, or opened by him. The watcher is not able to see the ticket.
I think if someone is added as a watcher this user should be able to see the ticket. nevertheless he is set to see only his own or assigned tickets.
- Assignee changed from Martin Herr to Holger Just
- Tracker changed from Patch to Feature
- Assignee deleted (
Holger Just)
- Priority changed from High to Normal
- Assignee set to Mischa The Evil
Hi,
this is not a feature requested but obviously a fault in design! If a watcher is assigned to a ticket in a project as a watcher and not the assignee himself and the role of the watcher selected is only able to see assigned tickets to him or self opened issues, he will never be able to see the ticket were he was added as a watcher.
So we have to give his role the rights to see ALL the Issues in that project instead of just his own created and assigned to tickets.
i think the objective is clear? Redmine is the newest version:
Redmine 1.2.1
MySQL Database
Ruby 1.8.7
Gems 1.6.2
We have also encountered this issue and I would agree that it is not a feature request.
The way to reproduce:
- create a new user, e.g. Bob, with issues visibility (in Roles & Permissions) to Issues created or assigned to the user
- create a new ticket that is not assigned to any user
- resulting ticket will not be viewable by the user Bob
- it is not possible to add Bob as a watcher to the ticket
However, if Bob had at some point permission to view the tickets and has been added as a watcher to the ticket, after the permissions change he won't be able to see the ticket.
- change permission to view all tickets
- add Bob as watcher to the ticket
- switch Bob back to Issues created or assigned to the user
- ticket will not be viewable by Bob
Francesco, Holger,
Thanks for your responses. I've done some research for this issue afterwards and I think it is more complicated. I'll try to explain based on the reproduction-steps provided by Holger.
Holger Baumhaus wrote:
The way to reproduce:
[...]
However, if Bob had at some point permission to view the tickets and has been added as a watcher to the ticket, after the permissions change he won't be able to see the ticket.
- change permission to view all tickets
- add Bob as watcher to the ticket
- switch Bob back to Issues created or assigned to the user
- ticket will not be viewable by Bob
This is actually the expected behaviour due to the fact that the watcher-mechanism is not used as part of the permissions-sytem. The watcher-mechanism is specifically designed as a email-notification system for multiple objects (such as issues, wikipages, messages etc.), not as a system to be used within the scope of the permissions system. This is already stated by Jean-Philippe in issue #7412-#note-13.
Looking at the feedback on this issue it seems to me that this issue describes the behaviour as proposed by Vladimir Dzalbo in issue #7412-#note-3. That proposition has finally emerged into issue #8488.
Considering the above I'd propose to close this issue in favor of issue #8488. Any thoughts?
Thank you.
Issue #8448 sounds promising and would also solve some problems beyond adding watchers.
Holger Baumhaus wrote:
Thank you.
Issue #8488 sounds promising and would also solve some problems beyond adding watchers.
- Status changed from New to Closed
- Assignee deleted (
Mischa The Evil)
- Resolution set to Duplicate
Holger Baumhaus wrote:
Thank you.
Issue #8448 sounds promising and would also solve some problems beyond adding watchers.
Thanks for the feedback. Closed as 'duplicate' accordingly.
I can confirm the patch private_issue_watchers_3.1.x.diff
in #8488 solves this issue.
- Has duplicate Defect #27673: Watchers cannot see issue with restricted issue visibility added
Also available in: Atom
PDF