[openstreetmap/openstreetmap-website] Move require_administrator to application_controller (#1825)

Andy Allan notifications at github.com
Wed Apr 18 03:01:13 UTC 2018

There's a require_moderator in application_controller, but no corresponding require_administrator. That hasn't stopped people repeatedly wanting it...

$ grep -rn 'def require_administrator' app/
app/controllers/user_controller.rb:740:  def require_administrator
app/controllers/user_roles_controller.rb:27:  def require_administrator
app/controllers/diary_entry_controller.rb:236:  def require_administrator

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/20180418/0101d8c2/attachment.html>

More information about the rails-dev mailing list