[openstreetmap/openstreetmap-website] Revoking administrator role on current user should fail (#1701)

mmd notifications at github.com
Fri Dec 8 17:21:08 UTC 2017


Fixes #1697

See https://github.com/openstreetmap/openstreetmap-website/issues/1697#issuecomment-350063810 for further discussion
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/1701

-- Commit Summary --

  * Revoking administrator role on current user should fail

-- File Changes --

    M app/controllers/user_roles_controller.rb (11)
    M config/locales/en.yml (1)
    M test/controllers/user_roles_controller_test.rb (4)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/1701.patch
https://github.com/openstreetmap/openstreetmap-website/pull/1701.diff

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


More information about the rails-dev mailing list