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

Bug #110108 reported by Diogo Matsubara
34
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

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

Revision history for this message
Chuck Frain (chuckfrain-deactivatedaccount) wrote :

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

Revision history for this message
Guilherme Salgado (salgado) wrote : Re: [Bug 110108] Re: Team admin should be able cancel the team membership in another team

Chuck,

That's a separate issue and has been reported as bug 53637.

Revision history for this message
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)
Changed in launchpad:
assignee: nobody → salgado
Revision history for this message
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).

Revision history for this message
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?

Revision history for this message
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
Revision history for this message
Guilherme Salgado (salgado) wrote : Unassign myself from untargetted bugs

 assignee nobody
 subscribe

Changed in launchpad:
assignee: salgado → nobody
Revision history for this message
Guilherme Salgado (salgado) wrote :

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

Changed in launchpad:
importance: Low → Medium
Revision history for this message
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?

Revision history for this message
Christian Reis (kiko) wrote : Re: [Bug 110108] Re: Team admin should be able cancel the team membership in another team

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?

Revision history for this message
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)
affects: launchpad-foundations → launchpad-registry
Changed in launchpad-registry:
importance: Medium → Low
Revision history for this message
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

Revision history for this message
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)
tags: added: teams
Revision history for this message
Dimitri John Ledkov (ex-credativ) (dle-credativ) wrote :

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

Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 110108] Re: Team admin should be able cancel the team membership in another team

I was going to suggest you should file a ticket but I see you already
did at https://answers.launchpad.net/launchpad/+question/179976

Anyone else affected, please do the same.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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