[openstreetmap/openstreetmap-website] Granting / revoking roles for own user (#1697)

mmd notifications at github.com
Thu Dec 7 19:06:22 UTC 2017

> maybe stop them removing their own administrator role

That's exactly what I wanted to accomplish. As there's no additional confirmation popup, I accidentally locked myself out, and had to head for the rails console.

Second attempt is now restricted to the *administrator* role: bcd4fa52893a60ed5e2d0cc72377eab78006c1eb. Code style and naming conventions may not be ideal - will happily apply suggestions for improvement.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20171207/a81730ca/attachment.html>

More information about the rails-dev mailing list