Team admin should be able cancel the team membership in another team

Bug #110108 reported by Diogo Matsubara on 2007-04-25
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Launchpad itself

Bug Description

Team A is a member of team B
Admins from team A should be able to cancel the membership in team B at any time, in the same way people can leave a team at any time.

See also bug 953821

Another aspect to this bug would be needing approval from the Admin(s) of team B before it can be joined to team A.

Joey Stanford (joey) wrote :

2007-05-09: jjs - confirmed and upgraded based upon today's mass team adds

Changed in launchpad:
importance: Undecided → High
status: Unconfirmed → Confirmed
Christian Reis (kiko) on 2007-05-21
Changed in launchpad:
assignee: nobody → salgado
Guilherme Salgado (salgado) wrote :

On a team's page we can see all teams that team is a member of (under the "Subteam of" section). How about a link (shown only to team admins) beside each team name which takes the user to the page in which it's possible to cancel the subscription? I'm also accepting suggestions for the link's text, as 'Leave' may not convey the right thing (the team, rather than the user, is leaving the other team).

Christian Reis (kiko) wrote :

Maybe a <small> link that says "Change membership"? Or an edit icon with that as the alt text? The edit icon is not very visible, which is unfortunate.

However, have you thought about the use case where you visit a page for a team which contains one of the teams you administrate? I think that use case is important to cater for. If you are an invididual subscriber and you want to leave the team there is an action item for "Leave the Team". Should there be something similar that allows you to remove your team as a member?

Christian Reis (kiko) wrote :

Pushing off because of SSO work.

Changed in launchpad:
importance: High → Medium
Changed in launchpad:
importance: Medium → Low
Changed in launchpad:
milestone: 1.1.12 → none

 assignee nobody

Changed in launchpad:
assignee: salgado → nobody
Guilherme Salgado (salgado) wrote :

This bug will be a bit more important once we fix bug 190951

Changed in launchpad:
importance: Low → Medium
Guilherme Salgado (salgado) wrote :

How about changing the +leave page on a team to present options for the user to unsubscribe himself or any of the teams he administers that are members of the team in context?

Well, is the user going to find the option there? In other words, is it
the obvious place you'd think of visiting when you wanted to have one of
your teams depart the other team?

Francis J. Lacoste (flacoste) wrote :

Somewhat. I don't think there is much difference in making leave one of my team or myself. If I want to leave a team, I would expect to find the link on the team page. The most obvious link would be 'Leave team'. Once we move to inline actions, there may be a better solution.

Curtis Hovey (sinzui) on 2009-10-21
affects: launchpad-foundations → launchpad-registry
Changed in launchpad-registry:
importance: Medium → Low
Curtis Hovey (sinzui) wrote :

This bug is really annoying me. I want to modify the the leave method to take an additional admin arg that are required when the context is a team:
    def leave(self, team, admin=None)

View can pass the requesting user as the admin. If the user is an admin, the method removes the team from the other team.

The team index page has a leave button for users, and it is only shown when the user is a direct member. It might be easy to show the button when the user is an admin of the member team [Leave team via]

We can certainly show the leave team actions on the user's +participation page. That is very easy and it provides a single page to manage multiple removals during reorganisations. Since the user probably needs to consult this page to learn about the memberships, this page is probably more important than the team page itself

Curtis Hovey (sinzui) wrote :

I think this is the required UI changes to support the basic use case
    * Update TeamAddMyTeamsView.candicate_teams to return a tuple of
      admined teams and bool membership status.
    * Update setup fields and widgets to set the correct state
    * Update the action to process the removed teams
    * Update the link to the page to be add/remove my teams

I would like to see the +members and +participation pages to have an ajax dialog that lets me remove my teams.

Curtis Hovey (sinzui) on 2010-12-04
tags: added: teams

Ping? my team is spammed by bugmail from super team =(

I was going to suggest you should file a ticket but I see you already
did at

Anyone else affected, please do the same.

description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers