[openstreetmap/openstreetmap-website] [WIP] Allow reporting of abusive users to moderators or admins (#1576)

Andy Allan notifications at github.com
Wed Mar 14 09:36:18 UTC 2018


@gravitystorm pushed 7 commits.

e7e12a3  Create a more accurate permissions check message
6bcffbf  Unwind the set_issues method
283cffd  Handle current_user being both an admin and a moderator for building user list
85bf9ad  Handle issue_types properly if current_user is both and admin and a moderator
2fc70be  Add a redirect and error message if user ends up trying to report something without the correct parameters
696bbd1  Redirect to the reportable after creating a report.
facce9d  Refactor set_default_assigned_role to be more easily read.


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/1576/files/5310c7000c232cd48f48fe473beeca7f4ff02b53..facce9d0bb04ebdaa185c65eb8772aa7ff4db01f
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20180314/34468ff1/attachment.html>


More information about the rails-dev mailing list