No way to unsubscribe non-members from private project MP emails

Bug #2055493 reported by Barry Price
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
High
Unassigned

Bug Description

When a contributor is removed from a private project, they lose access to the repository.

However, if they're subscribed to that project, they will still receive e.g. MP emails, but no longer have access to the project itself and so can't directly unsubscribe from them.

Ideally we'd solve this via the UI, but it would also be useful to have an API call to return git_subscriptions/branch_subscriptions for projects to which a given user no longer has access, so that we can remove them programmatically.

Alternatively, perhaps LP simply shouldn't email people about projects they can no longer access.

Revision history for this message
Colin Watson (cjwatson) wrote :

If you're going to do the API call, I'd suggest simply having some way to get at collections of all gitsubscriptions/branchsubscriptions for a given user, which is an odd omission anyway and should be quite easy to implement. Then HR automation can have the job of figuring out which subscriptions should no longer exist.

I did find it weird that I lost access to e.g. lp:numark but was still receiving MP email about it, though, and that feels like a bug. So it would probably make sense to tackle this from both directions.

Revision history for this message
Ines Almeida (ines-almeida) wrote :

Agreed that this should be tackled from both directions:
 - A user that has no access to a project, shouldn't receive emails about that project
 - There should be a way to get subscriptions from a user and easily manipulate them through the API

The first point seems quite high priority.

Changed in launchpad:
status: New → Triaged
importance: Undecided → High
tags: added: api email subscribers
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.