Comment 12 for bug 110108

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