[openstreetmap/openstreetmap-website] Disable redactions with write_api scope (PR #5168)
Anton Khorev
notifications at github.com
Sun Sep 8 09:34:05 UTC 2024
Continues #4387.
Requires `write_redactions` scope to redact. Previously it was possible to redact with either `write_redactions` or `write_api`.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5168
-- Commit Summary --
* Disable redactions with write_api scope
-- File Changes --
M app/abilities/api_capability.rb (2)
M test/controllers/api/old_nodes_controller_test.rb (21)
M test/controllers/api/old_relations_controller_test.rb (21)
M test/controllers/api/old_ways_controller_test.rb (21)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/5168.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5168.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5168
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5168 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240908/e9c2c43d/attachment.htm>
More information about the rails-dev
mailing list