[openstreetmap/openstreetmap-website] Use a state machine for user status (PR #3419)

Andy Allan notifications at github.com
Thu Jan 13 10:02:00 UTC 2022


> I do use it as a first step to move a user from suspended to active though, because that isn't currently possible to do directly, and still isn't with this, but now there is no workaround either.

If we need another transition then I'm happy to add one. The `confirm` transition already allows going from `:suspended` to `:confirmed`. So do you also want an `unsuspend (:from => [:suspended], :to => :active)` ? 


-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3419#issuecomment-1011978728
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/3419/c1011978728 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20220113/d4e07bd7/attachment.htm>


More information about the rails-dev mailing list