openbrian / osm-microcosms

The Rails application that powers OpenStreetMap
https://www.openstreetmap.org/
GNU General Public License v2.0
12 stars 1 forks source link

Allow member/organizer to drop out of a group #22

Open cliffordsnow opened 4 years ago

cliffordsnow commented 4 years ago

For example, lets say I moved from Seattle. The user needs a way of dropping a group.

openbrian commented 4 years ago

After the last change, we remove the user from the microcosm. However we do not remove them from all upcoming events where their intentions is "yes - attend".

cliffordsnow commented 4 years ago

Would it be possible to ask if they still wanted to attend future events they signed up for? If they say yes keep them signed up otherwise drop future events?

openbrian commented 4 years ago

So this is how it is for now on my laptop. You click Leave. The browser asks are you sure, you click yes. Then on the server we check a few things, like if they are also an organizer of the microcosm, and if they are attending future events. If any of that is true we flash an alert saying so, and prevent them from leaving. Let the members resolve those things first, then try again.

openbrian commented 4 years ago

This feature is now live on the dev site. Please review.