betterangels / better-angels

The Better Angels are a group of anarchists committed to feminist, anti-racist, anti-capitalist struggle who use direct action software development as a technique of liberatory resistance.
https://betterangels.github.io/
55 stars 12 forks source link

Unable to delete teams as Admin #148

Closed christyleos closed 8 years ago

christyleos commented 8 years ago

I attempted to delete teams as an admin and was unable to do so.

Steps: Updated the Buoy plugin > clicked on my teams > selected all then selected move to trash > press apply> then received a error screen

Software version: 5.1.1 Browser: Google chrome 48.0.2564.95

screenshot 57 screenshot 58

fabacab commented 8 years ago

I just tried doing this on the staging server without issue. Try it there (or any other WordPress install) and see if it works. If it does, the issue has something to do with your own site's setup.

christyleos commented 8 years ago

I was able to delete all the teams except for one: screenshot 63

Then I tried it on the staging server like you said, and it would not let me delete the team (I select move to trash and it doesn't). screenshot 64

Am I not allowed to delete the default team?

fabacab commented 8 years ago

Am I not allowed to delete the default team?

I wrote code that prevents a user from leaving themselves with no teams. You can delete this team if you first make another.

This issue does not reflect a bug, despite conflicting reports. You first reported 403 Forbidden errors but then report something else, so I'm ignoring this unless the report becomes sane.

christyleos commented 8 years ago

It was giving me 403 Forbidden errors initially but it seems that is no longer the case and I was able to delete the teams I wanted to. It may have been a wordpress issue. Thanks for the info.