anteo / redmine_custom_workflows

Allows to create custom workflows for Redmine
http://www.redmine.org/plugins/custom-workflows
GNU General Public License v2.0
182 stars 72 forks source link

Watchers as member? #197

Closed DolezalDavid closed 3 years ago

DolezalDavid commented 4 years ago

Hi, I have nice quest, which can - I think - be solved with this awesome plugin. So here is example.

1) I have private project, because I need to see this only members. 2) I add issue, I'm member of this project. 3) BUT I need to add my friend as watcher or assignee, because this issue hit his work too, but my friend isn't member.

RESULT? I CAN add him as watcher, but he DOESN'T see project or issue and he isn't notified. I CAN'T add him as assignee, because he isn't member.

POSSIBLE SOLUTION? Add him as member to the private project. But I don't want to do this everytime when I need him to watch the issue/s.

QUESTION: If my friend add as Watcher, can he reach temporaly permission like user-member?

HOW I THINK ABOUT IT? 1) I have private project, because I need to see this only members 2) I add issue, I'm member of this project. 3) I add non-member users as watcher.

AFTER ADDING

WHY? I have around 30 projects, all public. Almost everytime I need to get issue from one project to another, like from POOL to SW HELP and I need to keep user access to his issue.

AirTibu commented 4 years ago

Hi,

Reading the question, I don't think you need any special code to implement it, you can reach what you want with simple role settings.

  1. Create a special role called: "Limited access"
  2. Issues visibility will be: "Issues created by or assigned to the user"
  3. At Issue tracking flag the following checkboxes:
  • View Issues
  • Edit own issues
  • Add notes
  • Edit own notes
  • View watchers list
  1. Add this role to your friend and assign to all projects.

In this case, the user see only the issues, where he is assigned user or watcher, all other issues remain hidden from him. He will be in watchers list and in assignable user list, so you can choose him easily, if you want.

I hope its help!

DolezalDavid commented 4 years ago

Hi,

Reading the question, I don't think you need any special code to implement it, you can reach what you want with simple role settings.

Hi @AirTibu, sorry for late answer. It works, but not exactly how I need... With your setting the user see only issues, which he creates or where he is assignee. Not issue, where he is only as watcher...

DolezalDavid commented 3 years ago

for this i found soulution via redmine_extended_watchers. It's almost perfect, but watcher can't add notes. There is not define patch for journal... :-(

DolezalDavid commented 3 years ago

Hi, for this problem I use plugin redmine_extended_watchers, where is exactly defined setup for this. So I close this with solution via redmine_extended_watchers.

Thank for support.