Unauthorized epic participation for groups you are not a member of

Summary

When you mention an epic of a group you are not a member of, you become a participant of that epic with notifications turned on but you get an error when you try to unsubscribe from notifications. This could be related to #7514 (closed).

For example, I've mentioned &42 (closed) in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/20154#note_84828727 which automatically added me as a participant in that epic. The same happened with #7514 (closed) and &31.

Steps to reproduce

Go to any epic of a group you are not a member of that you've previously mentioned elsewhere (e.g. in an issue as in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/20154#note_84828727) and try to toggle notifications off.

What is the expected correct behavior?

Probably the user shouldn't be added as a participant in the epic in the first place. Otherwise you should be able to turn notifications off.

Relevant logs and/or screenshots

notifications-unsubscribe-error

Edited Sep 09, 2018 by George Tsiolis
Assignee Loading
Time tracking Loading