@mmd-osm commented on this pull request.
> @@ -0,0 +1,13 @@
+<turbo-frame id="<%= frame_id %>">
+ <% if relation.redacted? && !params[:show_redactions] %>
The error message was intended for someone trying to directly access the new
endpoint. It cannot happen in our UI, because, as you said, the relation
version won't show any details except for this message: _Version x of this
relation cannot be shown as it has been redacted. Please see Redaction y for
details._
So in the OldRelationMembersController, I would have to add something like:
```
deny_access(nil) if relation.redacted? && !params[:show_redactions]
```
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6326#discussion_r2280982852
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/6326/review/3126432...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev