[openstreetmap/openstreetmap-website] Allow users to delete their own diary entries (PR #4540)

Tom Hughes notifications at github.com
Mon Jun 29 19:16:17 UTC 2026


@tomhughes commented on this pull request.



>      post hide_diary_entry_path(user, diary_entry)
     assert_redirected_to :controller => :errors, :action => :forbidden
     assert DiaryEntry.find(diary_entry.id).visible
 
+    # Now try as the author
+    session_for(user)

I've made that change now.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4540#discussion_r3494143823
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/4540/review/4594708230 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260629/2ed55591/attachment.htm>


More information about the rails-dev mailing list