Members removed from team/repository keep watches #1690

Closed
opened 2025-11-02 04:09:42 -06:00 by GiteaMirror · 7 comments
Owner

Originally created by @michaelkuhn on GitHub (Apr 10, 2018).

Description

When removing members from a team, they lose access to the respective repositories but keep their watches on the repository. This allows them to receive notifications via e-mail even if they should not be able to access the repository.

Reproducer (see link above): I added lunny to the test team, gave the team access to the repository and then removed lunny again. He still has a watch on the repository.

Originally created by @michaelkuhn on GitHub (Apr 10, 2018). - Gitea version (or commit ref): 38a9cda - Can you reproduce the bug at https://try.gitea.io: - [x] Yes: https://try.gitea.io/7tl9ebtg7mio/test ## Description When removing members from a team, they lose access to the respective repositories but keep their watches on the repository. This allows them to receive notifications via e-mail even if they should not be able to access the repository. Reproducer (see link above): I added lunny to the test team, gave the team access to the repository and then removed lunny again. He still has a watch on the repository.
GiteaMirror added the type/bugtopic/security labels 2025-11-02 04:09:42 -06:00
Author
Owner

@mqudsi commented on GitHub (Apr 14, 2018):

This should be tagged with a security label and perhaps assigned a CVE.

@mqudsi commented on GitHub (Apr 14, 2018): This should be tagged with a security label and perhaps assigned a CVE.
Author
Owner

@lunny commented on GitHub (Apr 15, 2018):

@mqudsi it will only show the wrong watch but there is no wrong permission.

@lunny commented on GitHub (Apr 15, 2018): @mqudsi it will only show the wrong watch but there is no wrong permission.
Author
Owner

@mqudsi commented on GitHub (Apr 15, 2018):

@lunny thanks, that's much better :)

@mqudsi commented on GitHub (Apr 15, 2018): @lunny thanks, that's much better :)
Author
Owner

@michaelkuhn commented on GitHub (May 16, 2018):

From what I could tell, removed members will still get notification e-mails (including the full comments) for issues etc. While the removed members do not have access to the repository anymore, they may still get information they should not get.

@michaelkuhn commented on GitHub (May 16, 2018): From what I could tell, removed members will still get notification e-mails (including the full comments) for issues etc. While the removed members do not have access to the repository anymore, they may still get information they should not get.
Author
Owner

@axifive commented on GitHub (May 16, 2018):

Perhaps need to add security or priority label?

@axifive commented on GitHub (May 16, 2018): Perhaps need to add security or priority label?
Author
Owner

@daviian commented on GitHub (Jun 5, 2018):

Just wanted to mention that I'm already working on it. Including https://github.com/go-gitea/gitea/issues/3343 and https://github.com/go-gitea/gitea/issues/4149, because it's closely related

@daviian commented on GitHub (Jun 5, 2018): Just wanted to mention that I'm already working on it. Including https://github.com/go-gitea/gitea/issues/3343 and https://github.com/go-gitea/gitea/issues/4149, because it's closely related
Author
Owner

@techknowlogick commented on GitHub (Jun 19, 2018):

Closed with #4201

@techknowlogick commented on GitHub (Jun 19, 2018): Closed with #4201
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1690