[openstreetmap/openstreetmap-website] Redaction factory (#1492)

Tom Hughes notifications at github.com
Wed Mar 15 19:18:34 UTC 2017


tomhughes commented on this pull request.



>  
     do_redact_node(nodes(:node_with_versions_v3),
-                   redactions(:example))
+                   create(:redaction, :user => user))

I think it would be - the fact that redactions are shared across all moderators is a deliberate feature I believe and we have probably (accidentally) not really been testing that.

I've never really been clear why blocks behave the way they do - to my mind it would make more sense if any moderator could edit any block. Especially since I believe any moderator can revoke a block, they just can't edit it...

-- 
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/1492#discussion_r106259517
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170315/0a797bf8/attachment.html>


More information about the rails-dev mailing list